Skip to content

Commit 75f4237

Browse files
authored
fix: remove duplicate getErrorMessage import in discovery.ts (#315)
Squash merge left a duplicate import line causing TS2300 and oxc parse errors in CI. Also clean up stale blank lines in discovery.ts and execution.ts.
1 parent 41aedf6 commit 75f4237

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/discovery.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ interface YamlCliDefinition {
4646
navigateBefore?: boolean | string;
4747
}
4848

49-
50-
5149
function parseStrategy(rawStrategy: string | undefined, fallback: Strategy = Strategy.COOKIE): Strategy {
5250
if (!rawStrategy) return fallback;
5351
const key = rawStrategy.toUpperCase() as keyof typeof Strategy;

src/execution.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const _loadedModules = new Set<string>();
2222
type CommandArgs = Record<string, unknown>;
2323

2424

25-
2625
/**
2726
* Validates and coerces arguments based on the command's Arg definitions.
2827
*/

0 commit comments

Comments
 (0)