Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37638004
en ru br
ALT Linux repos
S:9.6.7-alt2

Group :: Development/Tools
RPM: npm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: npm-fix-user-agent-output.patch
Download


diff --git a/npm/lib/utils/config/definitions.js b/npm/lib/utils/config/definitions.js
index a132c845..87136a6c 100644
--- a/npm/lib/utils/config/definitions.js
+++ b/npm/lib/utils/config/definitions.js
@@ -2223,7 +2223,7 @@ define('user-agent', {
 
     // We can't clobber the original or else subsequent flattening will fail
     // (i.e. when we change the underlying config values)
-    // obj[key] = flatOptions.userAgent
+    obj[key] = flatOptions.userAgent
 
     // user-agent is a unique kind of config item that gets set from a template
     // and ends up translated.  Because of this, the normal "should we set this
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin