core: silently ignore proxy command failures to prevent config initialization crashes
This commit is contained in:
parent
fba5a79c45
commit
7c748ef089
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue