mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-29 01:25:42 -05:00
Reworks commanding structure for less redundancy
Adds command args copying when needed
This commit is contained in:
@@ -11,7 +11,7 @@ export class ShowLastQuickPickCommand extends Command {
|
||||
|
||||
async execute() {
|
||||
const command = getLastCommand();
|
||||
if (!command) return undefined;
|
||||
if (command === undefined) return undefined;
|
||||
|
||||
try {
|
||||
return commands.executeCommand(command.command, ...command.args);
|
||||
|
||||
Reference in New Issue
Block a user