I'm building a npm package and want to detect warnings raised by npm on CI. However, npm's exit status is zero even if warnings are displayed unless there's an error. Is there any option to make npm install
fail when any warning occurs? Or any other way to detect warnings?
发生警告时如何使npm失败?
评论
请
登录后发表观点