aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbolint b/sbolint
index f96f365..93c2fe0 100755
--- a/sbolint
+++ b/sbolint
@@ -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>/) {