Skip to content

Commit d8c369a

Browse files
author
katiegoines
committed
testing looping
1 parent ac4b956 commit d8c369a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/scripts/validate-redirects.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@ module.exports = {
4646
errors.push(errorMessage);
4747

4848
validateEntries(redirects.splice(parseInt(error.instancePath.slice(1, -7)) + 1));
49-
50-
} else if (valid && errors.length > 0) {
51-
console.log('logging', errors)
52-
return errors;
53-
}
49+
}
5450
}
51+
52+
return errors;
53+
5554
}
5655
}
5756

0 commit comments

Comments
 (0)