Skip to content

Commit d4a71a6

Browse files
committed
addressing ci
1 parent 83c5392 commit d4a71a6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/infra/command-analysis/risks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ function resolveShellPositionalCarrierPlan(command: string): ShellPositionalCarr
144144
if (positional.kind === "all") {
145145
return { kind: "all" };
146146
}
147-
indexes.push(positional.index);
147+
if (positional.kind === "index") {
148+
indexes.push(positional.index);
149+
}
148150
}
149151
return { kind: "indexes", indexes };
150152
}

0 commit comments

Comments
 (0)