We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f2170e commit c200f12Copy full SHA for c200f12
1 file changed
tests/content/redirect-orphans.js
@@ -21,7 +21,7 @@ describe('redirect orphans', () => {
21
for (const page of pageList) {
22
for (const redirectFrom of page.redirect_from || []) {
23
if (redirectFrom.endsWith('/') && redirectFrom.startsWith('/')) {
24
- console.warn(
+ throw new Error(
25
`In ${path.join(
26
'content',
27
page.relativePath
0 commit comments