Skip to content

Commit f34d2d9

Browse files
chore: linting
1 parent 6d0d7f0 commit f34d2d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/commands/test/index.ts

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

src/cli/main.ts

Lines changed: 1 addition & 1 deletion
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)