Skip to content

Commit

Permalink
Add the type for ex
Browse files Browse the repository at this point in the history
... to avoid the type-unknown error during installation.
  • Loading branch information
bus710 committed Nov 22, 2021
1 parent 6e2ad56 commit ea5c960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (require.main === module) {
console.log(error)
require('@oclif/errors/handle')(error)
})
} catch (ex) {
} catch (ex: any) {
console.log(ex.stack)
}
}

0 comments on commit ea5c960

Please sign in to comment.