Skip to content

Commit

Permalink
chore: support DEBUG environment variables to enable debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed Jun 24, 2024
1 parent d5e2f40 commit da278e8
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 @@ -52,7 +52,7 @@ async function run(args: Argv = argv) {

main(args, {
logger: new Logger({
isDebug: args.debug,
isDebug: args.debug || process.env.DEBUG === command,
})
});
}
Expand Down

0 comments on commit da278e8

Please sign in to comment.