Skip to content

Commit 3fbe1cd

Browse files
committed
Update to commander 9.x types
1 parent b7bbb83 commit 3fbe1cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: source/commands/utils/sharedDangerfileArgs.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import program from "commander"
1+
import { Command } from "commander"
22
import chalk from "chalk"
33

4-
process.on("unhandledRejection", function(reason: string, _p: any) {
4+
process.on("unhandledRejection", function (reason: string, _p: any) {
55
console.log(chalk.red("Error: "), reason)
66
process.exitCode = 1
77
})
88

9-
export interface SharedCLI extends program.CommanderStatic {
9+
export interface SharedCLI extends Command {
1010
/** Should we be posting as much info as possible? */
1111
verbose: boolean
1212
/** Output to STDOUT instead of leaving a comment */

0 commit comments

Comments
 (0)