Skip to content

Commit 19e6a46

Browse files
committed
Updaing reference path for rubocop config for new location of the rake task
1 parent da4381c commit 19e6a46

File tree

1 file changed

+1
-1
lines changed
  • lib/fix_db_schema_conflicts/tasks

1 file changed

+1
-1
lines changed

lib/fix_db_schema_conflicts/tasks/db.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace :db do
77
else
88
"#{Rails.root}/db/schema.rb"
99
end
10-
rubocop_yml = File.expand_path('../../../.rubocop_schema.yml', __FILE__)
10+
rubocop_yml = File.expand_path('../../../../.rubocop_schema.yml', __FILE__)
1111
`rubocop --auto-correct --config #{rubocop_yml} #{filename}`
1212
`sed -E -e 's/, +/, /g' #{filename} > db/schema.fixed.rb`
1313
`mv db/schema.fixed.rb #{filename}`

0 commit comments

Comments
 (0)