Skip to content

Commit

Permalink
feat(node): Add a new single line warning prefix to support
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Jan 25, 2024
1 parent f5d3c2f commit eb108b3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5191,3 +5191,15 @@ issues:
source: "NPM"
message: "deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated"
severity: "WARNING"
- timestamp: "1970-01-01T00:00:00Z"
source: "NPM"
message: "skipping integrity check for git dependency ssh://[email protected]/jonschlinkert/gulp-format-md.git "
severity: "WARNING"
- timestamp: "1970-01-01T00:00:00Z"
source: "NPM"
message: "skipping integrity check for git dependency ssh://[email protected]/mochajs/mocha.git "
severity: "WARNING"
- timestamp: "1970-01-01T00:00:00Z"
source: "NPM"
message: "skipping integrity check for git dependency ssh://[email protected]/tinydesk/angular-tileview.git "
severity: "WARNING"
2 changes: 1 addition & 1 deletion plugins/package-managers/node/src/main/kotlin/Npm.kt
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ open class Npm(

fun mapLinesToIssues(prefix: String, severity: Severity) {
val ignorablePrefixes = setOf("code ", "errno ", "path ", "syscall ")
val singleLinePrefixes = setOf("deprecated ")
val singleLinePrefixes = setOf("deprecated ", "skipping integrity check for git dependency ")
val minSecondaryPrefixLength = 5

val issueLines = lines.mapNotNull { line ->
Expand Down

0 comments on commit eb108b3

Please sign in to comment.