From d19409defb13a2a26f9b776cd850303661b02c09 Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Fri, 13 Oct 2023 16:27:27 +1030 Subject: [PATCH] Update npm.go Change term to 'node_modules' and improve grammar Fixes #202 --- build/utils/npm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/utils/npm.go b/build/utils/npm.go index d1b81233..9751bfb7 100644 --- a/build/utils/npm.go +++ b/build/utils/npm.go @@ -75,7 +75,7 @@ func CalculateNpmDependenciesList(executablePath, srcPath, moduleId string, npmP printMissingDependenciesWarning("optionalDependencies", missingOptionalDeps, log) } if len(otherMissingDeps) > 0 { - log.Warn("The following dependencies will not be included in the build-info, because they are missing in the npm cache: '" + strings.Join(otherMissingDeps, ",") + "'.\nHint: Try to delete 'node_models' and/or 'package-lock.json'.") + log.Warn("The following dependencies will not be included in the build-info, because they are missing in the npm cache: '" + strings.Join(otherMissingDeps, ",") + "'.\nHint: Try deleting 'node_modules' and/or 'package-lock.json'.") } return dependenciesList, nil }