From 32e01b1687224fe05727e682049270b94aa54430 Mon Sep 17 00:00:00 2001 From: Marcel Bochtler Date: Mon, 16 Dec 2024 11:02:53 +0100 Subject: [PATCH] chore(npm): Ignore the log file error message of NPM stderr output Signed-off-by: Marcel Bochtler --- plugins/package-managers/node/src/main/kotlin/npm/Npm.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/package-managers/node/src/main/kotlin/npm/Npm.kt b/plugins/package-managers/node/src/main/kotlin/npm/Npm.kt index a863944225e39..5bafded04c4ea 100644 --- a/plugins/package-managers/node/src/main/kotlin/npm/Npm.kt +++ b/plugins/package-managers/node/src/main/kotlin/npm/Npm.kt @@ -227,7 +227,13 @@ private fun ModuleInfo.getNonDeduplicatedModuleInfosForId(): Map.groupLines(vararg markers: String): List { - val ignorableLinePrefixes = setOf("code ", "errno ", "path ", "syscall ") + val ignorableLinePrefixes = setOf( + "A complete log of this run can be found in: ", + "code ", + "errno ", + "path ", + "syscall " + ) val singleLinePrefixes = setOf("deprecated ", "invalid: ", "missing: ", "skipping integrity check for git dependency ") val minCommonPrefixLength = 5