Skip to content

Commit

Permalink
Make disconnect command only prompt connections
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoofsKelvin committed Jun 28, 2021
1 parent 5e5286d commit 36a440d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function activate(context: vscode.ExtensionContext) {

// sshfs.disconnect(target: string | FileSystemConfig | Connection)
registerCommandHandler('sshfs.disconnect', {
promptOptions: { promptConfigs: true, promptConnections: true },
promptOptions: { promptConnections: true },
handleString: name => manager.commandDisconnect(name),
handleConfig: config => manager.commandDisconnect(config.name),
handleConnection: con => manager.commandDisconnect(con),
Expand Down

0 comments on commit 36a440d

Please sign in to comment.