mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 04:29:42 +00:00
fix: patch arborist to get around bun bug (#23460)
This commit is contained in:
parent
687b758882
commit
e539efe2b9
7 changed files with 64 additions and 0 deletions
13
patches/@npmcli%2Fagent@4.0.0.patch
Normal file
13
patches/@npmcli%2Fagent@4.0.0.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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) {
|
||||
Loading…
Add table
Add a link
Reference in a new issue