Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sandor-trombitas committed Sep 9, 2024
1 parent c0a08d7 commit 2317054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/commands/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export default async function test(
if (notSuccess) {
response += chalk.bold.red(summaryMessage);
const error = new Error(response) as any;
// TODO: refactor this to be more consistent
// TODO: refactor this to be more consistent
// take the code of the first problem to go through error
// translation
// HACK as there can be different errors, and we pass only the
Expand Down
2 changes: 1 addition & 1 deletion src/cli/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export async function main(): Promise<void> {

if (
typeof globalArgs.options.detectionDepth !== 'undefined' &&
(globalArgs.options.detectionDepth as number <= 0 ||
((globalArgs.options.detectionDepth as number) <= 0 ||
Number.isNaN(globalArgs.options.detectionDepth))
) {
throw new InvalidDetectionDepthValue();
Expand Down

0 comments on commit 2317054

Please sign in to comment.