diff --git a/.github/workflows/scripts/validate-redirects.js b/.github/workflows/scripts/validate-redirects.js index 14050bf01d3..f81ca8b7a2c 100644 --- a/.github/workflows/scripts/validate-redirects.js +++ b/.github/workflows/scripts/validate-redirects.js @@ -46,9 +46,11 @@ module.exports = { const errorMessage = '\n\n' + 'INVALID ENTRY: Please correct the error in the "' + loc +'" property of the following entry: \n' + invalidEntry + '\n\n' + 'ERROR MESSAGE: ' + error.message; errors.push(errorMessage) + console.log(redirects) redirects = redirects.splice(error.instancePath.slice(1, -7)) + console.log(redirects) - validateEntries(redirects) + // validateEntries(redirects) } else if (valid && errors.length > 0) { return errors.stringify(); }