We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9e6dc4 commit 09d81cbCopy full SHA for 09d81cb
lib/install/helpers.rb
@@ -21,7 +21,7 @@ def add_package_json_script(name, script, run_script=true)
21
if using_bun?
22
package_json = JSON.parse(File.read("package.json"))
23
package_json["scripts"] ||= {}
24
- package_json["scripts"][name] = script
+ package_json["scripts"][name] = script.gsub('\\"', '"')
25
File.write("package.json", JSON.pretty_generate(package_json))
26
run %(bun run #{name}) if run_script
27
else
0 commit comments