File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,9 @@ Layout/TrailingWhitespace:
109109Style/RedundantPercentQ :
110110 Enabled : true
111111
112+ Lint/DeprecatedClassMethods :
113+ Enabled : true
114+
112115# Align `end` with the matching keyword or starting expression except for
113116# assignments, where it should be aligned with the LHS.
114117Layout/EndAlignment :
Original file line number Diff line number Diff line change 1313say "Copying .browserslistrc to app root directory"
1414copy_file "#{ __dir__ } /config/.browserslistrc" , ".browserslistrc"
1515
16- if Dir . exists ?( Webpacker . config . source_path )
16+ if Dir . exist ?( Webpacker . config . source_path )
1717 say "The JavaScript app source directory already exists"
1818else
1919 say "Creating JavaScript app source directory"
2222
2323apply "#{ __dir__ } /binstubs.rb"
2424
25- if File . exists ?( ".gitignore" )
25+ if File . exist ?( ".gitignore" )
2626 append_to_file ".gitignore" do
2727 "\n " +
2828 "/public/packs\n " +
You can’t perform that action at this time.
0 commit comments