Skip to content

Commit 66d320a

Browse files
committed
fix: testing workflow
1 parent 63225c2 commit 66d320a

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
@@ -27,7 +27,7 @@
2727
"start": "npx webpack --config webpack.config.js ",
2828
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
2929
"dev": "npx webpack --config webpack.config.js --watch",
30-
"postinstall": "node $PWD/node_modules/@cocreate/cli/check-coc.js",
30+
"postinstall": "node -e 'const fs = require(\"fs\"); const path = require(\"path\"); if (fs.existsSync(path.resolve(__dirname, \"node_modules/@cocreate/cli/check-coc.js\"))) { require(\"./node_modules/@cocreate/cli/check-coc.js\"); }'",
3131
"dist": "node --version"
3232
},
3333
"repository": {

0 commit comments

Comments
 (0)