Skip to content

Commit

Permalink
await for ssh config sync before opening window
Browse files Browse the repository at this point in the history
Signed-off-by: Naman Sood <mail@nsood.in>
  • Loading branch information
tendstofortytwo committed Sep 26, 2023
1 parent b4ff22e commit bb7caba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node-explorer-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ export class NodeExplorerProvider
const { addr, path } = extractAddrAndPath(node);

if (addr && this.configManager.config.hosts?.[addr].persistToSSHConfig !== false) {
syncSSHConfig(addr, this.configManager);
await syncSSHConfig(addr, this.configManager);
}

if (node instanceof PeerRoot && addr) {
Expand Down

0 comments on commit bb7caba

Please sign in to comment.