diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-09-14 23:57:55 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-09-14 23:57:55 -0400 |
| commit | 26df12bde7f3666d49dab1b8e828feb3d85688a8 (patch) | |
| tree | 15f915bacbe5a6219ba1d0bfca0ae39c8e892e08 /sbolint | |
| parent | 8dd8dc8616a879c00237f1ebca7f3cbcce1fb772 (diff) | |
| download | sbo-maintainer-tools-26df12bde7f3666d49dab1b8e828feb3d85688a8.tar.gz | |
sbolint: do not allow "npm audit fix" in SlackBuild.
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>/) { |
