Commit 2317054 1 parent c0a08d7 commit 2317054 Copy full SHA for 2317054
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ export default async function test(
295
295
if ( notSuccess ) {
296
296
response += chalk . bold . red ( summaryMessage ) ;
297
297
const error = new Error ( response ) as any ;
298
- // TODO: refactor this to be more consistent
298
+ // TODO: refactor this to be more consistent
299
299
// take the code of the first problem to go through error
300
300
// translation
301
301
// HACK as there can be different errors, and we pass only the
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ export async function main(): Promise<void> {
321
321
322
322
if (
323
323
typeof globalArgs . options . detectionDepth !== 'undefined' &&
324
- ( globalArgs . options . detectionDepth as number <= 0 ||
324
+ ( ( globalArgs . options . detectionDepth as number ) <= 0 ||
325
325
Number . isNaN ( globalArgs . options . detectionDepth ) )
326
326
) {
327
327
throw new InvalidDetectionDepthValue ( ) ;
You can’t perform that action at this time.
0 commit comments