Auto correct rubocop style issues
This commit is contained in:
parent
f260e607bf
commit
7e8c1d041d
39 changed files with 115 additions and 199 deletions
|
|
@ -18,7 +18,7 @@ Foodsoft::Application.config.secret_key_base = begin
|
|||
else
|
||||
puts "=> Generating initial SECRET_KEY_BASE in #{sf}"
|
||||
token = SecureRandom.hex(30)
|
||||
File.open(sf, 'w') { |f| f.write(token) }
|
||||
File.write(sf, token)
|
||||
token
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue