Skip to content

Commit f3c2df7

Browse files
committed
feature: added chatgpt support
1 parent 92ccf09 commit f3c2df7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function handleUnknownCommand(): Promise<void> {
3939
console.log(cliConfig.commandError(process.argv.slice(2)))
4040
}
4141

42-
async function run(argv: Array<string>): Promise<void> {
42+
function run(argv: Array<string>): void {
4343
try {
4444
if (!roverHelpers.npmrootTest()) {
4545
throw new Error(cliConfig.globalError)
@@ -54,10 +54,10 @@ async function run(argv: Array<string>): Promise<void> {
5454
break
5555
case "-v":
5656
case "--version":
57-
handleVersionCommand()
57+
await handleVersionCommand()
5858
break
5959
default:
60-
handleUnknownCommand()
60+
await handleUnknownCommand()
6161
}
6262
} catch (error) {
6363
console.log("Error: ", (error as Error).message)

0 commit comments

Comments
 (0)