Skip to content

Commit

Permalink
adding missing curly bracket (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvanholder committed Sep 29, 2021
1 parent 9c7871d commit c3c4610
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/install/esbuild/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
build_script = "esbuild app/javascript/*.* --bundle --outdir=app/assets/builds"

if (`npx -v`.to_f < 7.1 rescue "Missing")
say %(Add "scripts": { "build": "#{build_script}" to your package.json), :green
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build "#{build_script}")
end
2 changes: 1 addition & 1 deletion lib/install/rollup/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
build_script = "rollup -c rollup.config.js"

if (`npx -v`.to_f < 7.1 rescue "Missing")
say %(Add "scripts": { "build": "#{build_script}" to your package.json), :green
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build "#{build_script}")
end
2 changes: 1 addition & 1 deletion lib/install/webpack/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
build_script = "webpack --config webpack.config.js"

if (`npx -v`.to_f < 7.1 rescue "Missing")
say %(Add "scripts": { "build": "#{build_script}" to your package.json), :green
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build "#{build_script}")
end

0 comments on commit c3c4610

Please sign in to comment.