Make disconnect command only prompt connections

pull/285/head
Kelvin Schoofs 3 years ago
parent 5e5286db90
commit 36a440df3b

@ -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),

Loading…
Cancel
Save