core: silently ignore proxy command failures to prevent config initialization crashes
This commit is contained in:
@@ -274,7 +274,7 @@ export namespace Config {
|
|||||||
...(proxied() ? ["--no-cache"] : []),
|
...(proxied() ? ["--no-cache"] : []),
|
||||||
],
|
],
|
||||||
{ cwd: dir },
|
{ cwd: dir },
|
||||||
)
|
).catch(() => {})
|
||||||
}
|
}
|
||||||
|
|
||||||
async function isWritable(dir: string) {
|
async function isWritable(dir: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user