Files
AirCoding/patches/@npmcli%2Fagent@4.0.2.patch
airlongdian c4f9fe109e fix: logo 右半部分从 CODING 改为 CODE
去掉难以正确渲染的 N 和 G 字母,右半部分简化为 CODE(4 字母),
与左半部分 AIR 组合为 AIR CODE。
2026-06-14 09:54:53 +08:00

14 lines
418 B
Diff

diff --git a/lib/agents.js b/lib/agents.js
index 45ec59c4c13757379095131c4f0a5ea6f7284f45..0763b031e355a755ec6a26f98461aa3f63b8339b 100644
--- a/lib/agents.js
+++ b/lib/agents.js
@@ -32,7 +32,7 @@ module.exports = class Agent extends AgentBase {
}
get proxy () {
- return this.#proxy ? { url: this.#proxy } : {}
+ return this.#proxy ? { url: this.#proxy.toString() } : {}
}
#getProxy (options) {