Skip to content

Commit d86f3a2

Browse files
committed
builtin completion
1 parent 6a102dc commit d86f3a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/ExternalCommand.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ class ExternalCommand extends Command {
99
this.outputHandler = outputHandler;
1010
}
1111

12-
execute(args) {
13-
this.executeCommand(this.commandPath, args);
12+
async execute(args) {
13+
await this.executeCommand(this.commandPath, args);
1414
return { shouldContinue: true };
1515
}
1616

17-
executeCommand(commandPath, args) {
17+
async executeCommand(commandPath, args) {
1818
return new Promise((resolve, reject) => {
1919
const commandDir = path.dirname(commandPath);
2020
process.env.PATH = `${commandDir}:${process.env.PATH}`;

0 commit comments

Comments
 (0)