From fdc2bc6d47c751377d42ea2581bf249186a5b2e6 Mon Sep 17 00:00:00 2001 From: Leo Goetz Date: Sun, 24 May 2026 06:44:30 +0200 Subject: fix: cmd to options --- src/commands/check.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.3.1