We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da4381c commit 19e6a46Copy full SHA for 19e6a46
lib/fix_db_schema_conflicts/tasks/db.rake
@@ -7,7 +7,7 @@ namespace :db do
7
else
8
"#{Rails.root}/db/schema.rb"
9
end
10
- rubocop_yml = File.expand_path('../../../.rubocop_schema.yml', __FILE__)
+ rubocop_yml = File.expand_path('../../../../.rubocop_schema.yml', __FILE__)
11
`rubocop --auto-correct --config #{rubocop_yml} #{filename}`
12
`sed -E -e 's/, +/, /g' #{filename} > db/schema.fixed.rb`
13
`mv db/schema.fixed.rb #{filename}`
0 commit comments