Skip to content

Commit c369c7b

Browse files
committed
fix(build): CI Windows quote syntax
1 parent 8e43860 commit c369c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "commonjs",
1515
"main": "dist/main.js",
1616
"scripts": {
17-
"postinstall": "node -e 'const path = require(\"path\"); const fs = require(\"fs\"); const filePath = path.join(process.cwd(), \"node_modules/ts-loader/dist/index.js\"); let fileStr = fs.readFileSync(filePath, { encoding: \"utf8\" }); fileStr = fileStr.replace(/, rootDir: undefined/, ``); fs.writeFileSync(filePath, fileStr, { encoding: \"utf8\" });'",
17+
"postinstall": "node -e \"const path = require('path'); const fs = require('fs'); const filePath = path.join(process.cwd(), 'node_modules/ts-loader/dist/index.js'); let fileStr = fs.readFileSync(filePath, { encoding: 'utf8' }); fileStr = fileStr.replace(/, rootDir: undefined/, ''); fs.writeFileSync(filePath, fileStr, { encoding: 'utf8' });\"",
1818
"clean": "rimraf dist && rimraf release",
1919
"test": "cross-env JEST_TESTS=1 jest --config=jest.config.js --verbose --runInBand --bail=1 --no-cache \"test\"",
2020
"testFile": "cross-env JEST_TESTS=1 jest --config=jest.config.js --verbose --runInBand --bail=1 --no-cache ",

0 commit comments

Comments
 (0)