From 1b5afad466b74d1c05ef0dde36bacbed14137063 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 14 Nov 2018 02:03:50 -0500 Subject: [PATCH] Fixes issue with command execution --- src/commands/common.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/common.ts b/src/commands/common.ts index ff3eb8a..8589825 100644 --- a/src/commands/common.ts +++ b/src/commands/common.ts @@ -381,6 +381,9 @@ export abstract class Command implements Disposable { if (uri !== undefined) { return [{ command: command, type: 'uri', editor: editor, uri: uri }, rest]; } + else { + args = args.slice(1); + } } if (firstArg instanceof ViewNode) {