execSync执行命令无效
# 在 execSync 方法的参数中,需要添加双引号,不能使用单引号
execSync(
`npx husky add .husky/commit-msg "npx --no-install fundlint commit-msg-scan"`
)
1
2
3
2
3
在
npx --no-install commitlint --edit $1中,$1不要加任何引号!!
上次更新: 2023/12/16, 09:22:46