From 08f67549b15baa3b0eb910c7f10c96faf6d61f11 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 5d3241f787470..81a833b3350f3 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 ", "missing: ", "skipping integrity check for git dependency ") val minCommonPrefixLength = 5