mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
DEV: Fix rubocop issues (#14715)
This commit is contained in:
parent
6aa6275f3f
commit
69f0f48dc0
27 changed files with 65 additions and 69 deletions
|
@ -297,7 +297,7 @@ begin
|
|||
run("RAILS_ENV=profile bundle exec rake assets:clean")
|
||||
|
||||
def get_mem(pid)
|
||||
YAML.load `ruby script/memstats.rb #{pid} --yaml`
|
||||
YAML.safe_load `ruby script/memstats.rb #{pid} --yaml`
|
||||
end
|
||||
|
||||
mem = get_mem(pid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue