From 1e993263e6c63f21aee12724b0365b66d1ca3a67 Mon Sep 17 00:00:00 2001 From: Dmitrii Pavlukhin Date: Tue, 19 Sep 2023 12:20:55 +0300 Subject: [PATCH] removed enforcement (#4576) Co-authored-by: Andrei Kireev --- cmd/detectExecuteScan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go index e72dc4689d..9ee9335931 100644 --- a/cmd/detectExecuteScan.go +++ b/cmd/detectExecuteScan.go @@ -447,7 +447,7 @@ func addDetectArgs(args []string, config detectExecuteScanOptions, utils detectU // A space-separated list of additional arguments that Detect will add at then end of the npm ls command line if len(config.NpmArguments) > 0 && !checkIfArgumentIsInScanProperties(config, "detect.npm.arguments") { - args = append(args, fmt.Sprintf("--detect.npm.arguments=%v", strings.ToUpper(strings.Join(config.NpmArguments, " ")))) + args = append(args, fmt.Sprintf("--detect.npm.arguments=%v", strings.Join(config.NpmArguments, " "))) } // rapid scan on pull request