File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace :webpacker do
99 pkg_path = Pathname . new ( "#{ __dir__ } /../../../package.json" ) . realpath
1010 yarn_range = JSON . parse ( pkg_path . read ) [ "engines" ] [ "yarn" ]
1111 is_valid = SemanticRange . satisfies? ( yarn_version , yarn_range ) rescue false
12- is_unsupported = SemanticRange . satisfies? ( yarn_version , ">=3 .0.0" ) rescue false
12+ is_unsupported = SemanticRange . satisfies? ( yarn_version , ">=4 .0.0" ) rescue false
1313
1414 unless is_valid
1515 $stderr. puts "Webpacker requires Yarn \" #{ yarn_range } \" and you are using #{ yarn_version } "
Original file line number Diff line number Diff line change 99 ],
1010 "engines" : {
1111 "node" : " >=10.17.0" ,
12- "yarn" : " >=1 <3 "
12+ "yarn" : " >=1 <4 "
1313 },
1414 "dependencies" : {
1515 "@babel/core" : " ^7.14.3" ,
You can’t perform that action at this time.
0 commit comments