diff options
Diffstat (limited to 'sbolint')
| -rwxr-xr-x | sbolint | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1617,6 +1617,8 @@ sub check_script { } } elsif(/^[^#]*(SLCKFLAGS|PRGMAN|PGK)/) { log_warning("$file:$lineno: $1 looks like a typo"); + } elsif(/^[^#]*npm\s+audit\s+fix/) { + log_error("$file:$lineno: scripts must not call 'npm audit fix'"); } if(/^[^#]*<documentation>/) { |
