Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37597165
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: npm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: npm-fix-user-agent-output.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin