diff options
| -rw-r--r-- | src/commands/check.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/check.ts b/src/commands/check.ts index cfa3cb1..f39b0f8 100644 --- a/src/commands/check.ts +++ b/src/commands/check.ts @@ -8,9 +8,9 @@ export const check = (program: Command) => { .command("check") .description("Checks given repos for security updates and logs output.") .option("-e, --email", "Send Email Report via the configured Email.") - .action(async (cmd) => { + .action(async (options) => { const data = await checkDependencies(); - if (cmd.email) { + if (options.email) { sendAuditEmail(data); } else { outputSummary(data); |
