瀏覽代碼

Switches to allSettled for safety

main
Eric Amodio 2 年之前
父節點
當前提交
28c993ccca
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/git/gitProviderService.ts

+ 1
- 1
src/git/gitProviderService.ts 查看文件

@ -814,7 +814,7 @@ export class GitProviderService implements Disposable {
}
}
await Promise.all([
await Promise.allSettled([
setContext(ContextKeys.HasRemotes, hasRemotes),
setContext(ContextKeys.HasRichRemotes, hasRichRemotes),
setContext(ContextKeys.HasConnectedRemotes, hasConnectedRemotes),

Loading…
取消
儲存