File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/package-managers/node/src/main/kotlin/npm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,12 +305,12 @@ internal fun ProcessCapture.extractNpmIssues(): List<Issue> {
305
305
// Generally forward issues from the NPM CLI to the ORT NPM package manager. Lower the severity of warnings to
306
306
// hints, as warnings usually do not prevent the ORT NPM package manager from getting the dependencies right.
307
307
lines.groupLines(" npm WARN " , " npm warn " ).mapTo(issues) {
308
- Issue (source = " NPM " , message = it, severity = Severity .HINT )
308
+ Issue (source = NpmFactory .descriptor.displayName , message = it, severity = Severity .HINT )
309
309
}
310
310
311
311
// For errors, however, something clearly went wrong, so keep the severity here.
312
312
lines.groupLines(" npm ERR! " , " npm error " ).mapTo(issues) {
313
- Issue (source = " NPM " , message = it, severity = Severity .ERROR )
313
+ Issue (source = NpmFactory .descriptor.displayName , message = it, severity = Severity .ERROR )
314
314
}
315
315
316
316
return issues
You can’t perform that action at this time.
0 commit comments