diff options
| author | Leo Goetz <dev@leogtz.de> | 2026-05-24 06:44:30 +0200 |
|---|---|---|
| committer | Leo Goetz <dev@leogtz.de> | 2026-05-24 06:44:30 +0200 |
| commit | fdc2bc6d47c751377d42ea2581bf249186a5b2e6 (patch) | |
| tree | b758b4032f4a1f6cc41121a310a3d178cb0cc9ee /src/commands | |
| parent | 070a5ecace9942490cd777e3c1decd1b846a877f (diff) | |
fix: cmd to options
Diffstat (limited to 'src/commands')
| -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); |
