Skip to content

Commit 2317054

Browse files
chore: linting
1 parent c0a08d7 commit 2317054

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/commands/test/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export default async function test(
295295
if (notSuccess) {
296296
response += chalk.bold.red(summaryMessage);
297297
const error = new Error(response) as any;
298-
// TODO: refactor this to be more consistent
298+
// TODO: refactor this to be more consistent
299299
// take the code of the first problem to go through error
300300
// translation
301301
// HACK as there can be different errors, and we pass only the

src/cli/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export async function main(): Promise<void> {
321321

322322
if (
323323
typeof globalArgs.options.detectionDepth !== 'undefined' &&
324-
(globalArgs.options.detectionDepth as number <= 0 ||
324+
((globalArgs.options.detectionDepth as number) <= 0 ||
325325
Number.isNaN(globalArgs.options.detectionDepth))
326326
) {
327327
throw new InvalidDetectionDepthValue();

0 commit comments

Comments
 (0)