Skip to content

Commit 3da8d22

Browse files
authored
fix: ignore execution of scripts to avoid husky run (#129)
1 parent dc1b2c2 commit 3da8d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default class extends Generator {
201201
async _npmInstall(dir, withDevDeps) {
202202
return new Promise(
203203
function (resolve, reject) {
204-
spawn(hasYarn() ? "yarn" : "npm", ["install", "--no-progress", "--ignore-engines"], {
204+
spawn(hasYarn() ? "yarn" : "npm", ["install", "--no-progress", "--ignore-engines", "--ignore-scripts"], {
205205
stdio: this.config.verbose ? "inherit" : "ignore",
206206
cwd: dir,
207207
env: {

0 commit comments

Comments
 (0)