We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 /lib/uninstall.js 中要移除bin目录文件使用了以下判断: for (const file in pkgInfo.bin) { ... } 但是bin字段有可能是字符串,比如 mkdirp 中的 bin:"bin/cmd.js", 所以这里有问题。 另外,.npminstall 里面的依赖不会被移除。
/lib/uninstall.js
for (const file in pkgInfo.bin) { ... }
bin
mkdirp
bin:"bin/cmd.js"
.npminstall
The text was updated successfully, but these errors were encountered:
请给一个可重现问题的例子?
Sorry, something went wrong.
npminstall-demo.zip
详情请查看 demo 里面的 readme。
No branches or pull requests
在
/lib/uninstall.js
中要移除bin目录文件使用了以下判断:for (const file in pkgInfo.bin) { ... }
但是
bin
字段有可能是字符串,比如mkdirp
中的bin:"bin/cmd.js"
, 所以这里有问题。另外,
.npminstall
里面的依赖不会被移除。The text was updated successfully, but these errors were encountered: