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:
109
109
Style/RedundantPercentQ :
110
110
Enabled : true
111
111
112
+ Lint/DeprecatedClassMethods :
113
+ Enabled : true
114
+
112
115
# Align `end` with the matching keyword or starting expression except for
113
116
# assignments, where it should be aligned with the LHS.
114
117
Layout/EndAlignment :
Original file line number Diff line number Diff line change 13
13
say "Copying .browserslistrc to app root directory"
14
14
copy_file "#{ __dir__ } /config/.browserslistrc" , ".browserslistrc"
15
15
16
- if Dir . exists ?( Webpacker . config . source_path )
16
+ if Dir . exist ?( Webpacker . config . source_path )
17
17
say "The JavaScript app source directory already exists"
18
18
else
19
19
say "Creating JavaScript app source directory"
22
22
23
23
apply "#{ __dir__ } /binstubs.rb"
24
24
25
- if File . exists ?( ".gitignore" )
25
+ if File . exist ?( ".gitignore" )
26
26
append_to_file ".gitignore" do
27
27
"\n " +
28
28
"/public/packs\n " +
You can’t perform that action at this time.
0 commit comments