We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a486d commit d569a46Copy full SHA for d569a46
lib/adapters/command-execution-adapter.ts
@@ -18,7 +18,7 @@ export default class CommandExecutionAdapter {
18
const executeCommandParams = CommandExecutionAdapter.createExecuteCommandParams(command, commandArgs);
19
const commandCustomCallback = this.commandsCustomCallbacks.get(command);
20
21
- return commandCustomCallback != null ? await commandCustomCallback(executeCommandParams) : await connection.executeCommand(executeCommandParams);
+ return commandCustomCallback !== undefined ? await commandCustomCallback(executeCommandParams) : await connection.executeCommand(executeCommandParams);
22
}
23
24
private static createExecuteCommandParams(command: string, commandArgs?: any[]): ExecuteCommandParams {
0 commit comments