1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

add log message

This commit is contained in:
maksim bondarenko
2025-08-15 15:03:45 +03:00
parent 1348b3b5f3
commit 2ebfc11fc9

View File

@@ -188,6 +188,7 @@ func (exec *Execute) publish(packageJSON, registry, username, password string, p
if len(scope) > 0 && useScopedRegistry && registry == getScopedRegistryFromNpmrc(npmrcPath, scope) {
// Use scope only if registry matches the scoped registry
log.Entry().Debug("found scope, scoped registry and they match")
err = execRunner.RunExecutable("npm", "login",
"--userconfig", ".piperNpmrc",
"--registry", registry,