Группа :: 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