diff --git a/scripts/prepare.js b/scripts/prepare.js index 4d7b7844..6fda7a86 100644 --- a/scripts/prepare.js +++ b/scripts/prepare.js @@ -6,7 +6,7 @@ if (fs.existsSync("./artifacts")) { if (os.type() === "Windows_NT") { exec("del /s /q artifacts\\*.dbg.json") } else { - exec("find ./artifacts -name *.dbg.json -exec rm -r {} \\;") + exec('find ./artifacts -name "*.dbg.json" -exec rm -r {} \\;') } }