Skip to content

Commit

Permalink
Use logError for command DNE.
Browse files Browse the repository at this point in the history
  • Loading branch information
grant authored Jun 1, 2018
1 parent bfd1333 commit 8e1c3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const help = () => {
* @param command {string} The command that was typed.
*/
export const defaultCmd = (command: string) => {
console.error(ERROR.COMMAND_DNE(command));
logError(null, ERROR.COMMAND_DNE(command));
};

/**
Expand Down

0 comments on commit 8e1c3fb

Please sign in to comment.