We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 572fbcc commit 220887dCopy full SHA for 220887d
src/commands/scan/cmd-scan-create.mts
@@ -381,8 +381,6 @@ async function run(
381
let updatedInput = false
382
383
// Accept zero or more paths. Default to cwd() if none given.
384
- // Note: cli.input is always an array (even if empty), so || [cwd] never
385
- // fires because [] is truthy. Use .length check instead.
386
let targets = cli.input.length ? cli.input : []
387
388
if (!targets.length && reach) {
0 commit comments