Skip to content

Commit 33d45e3

Browse files
author
katiegoines
committed
testing looping
1 parent 3615d81 commit 33d45e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = {
4848
validateEntries(redirects.splice(parseInt(error.instancePath.slice(1, -7)) + 1));
4949

5050
} else if (valid && errors.length > 0) {
51-
return 'errors';
51+
return errors;
5252
}
5353
}
5454
}

.github/workflows/validate_redirects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
return await invalidRedirects();
3030
- name: Fail if any invalid redirects have been found
3131
if: ${{ steps.redirects.outputs.result }}
32-
run: exit 1 && echo ${{ steps.redirects.outputs.result }}
32+
run: exit 1 && echo ${{ steps.redirects.outputs }}

0 commit comments

Comments
 (0)