Skip to content

Commit

Permalink
fix: testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jun 11, 2023
1 parent 8160627 commit b7ad814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"start": "npx webpack --config webpack.config.js",
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
"dev": "npx webpack --config webpack.config.js --watch",
"postinstall": "node $PWD/node_modules/@cocreate/cli/check-coc.js"
"postinstall": "node -e \"const { execSync } = require('child_process'); try { execSync('coc --version', { stdio: 'ignore' }); } catch (error) { try { execSync('npm install -g @cocreate/cli', { stdio: 'inherit' }); console.log('Installed \"@cocreate/cli\" globally.'); } catch (error) { console.error('Failed to install \"@cocreate/cli\" globally:', error); } }\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b7ad814

Please sign in to comment.