diff --git a/aio/tools/transforms/angular.io-package/processors/processNavigationMap.js b/aio/tools/transforms/angular.io-package/processors/processNavigationMap.js index 7582ff9788..c744256749 100644 --- a/aio/tools/transforms/angular.io-package/processors/processNavigationMap.js +++ b/aio/tools/transforms/angular.io-package/processors/processNavigationMap.js @@ -21,7 +21,7 @@ module.exports = function processNavigationMap(versionInfo, log) { log.error(`Navigation doc: ${navigationDoc.fileInfo.relativePath} contains invalid urls`); // eslint-disable-next-line no-console console.log(errors); - // TODO(petebd): fail if there are errors: throw new Error('processNavigationMap failed'); + throw new Error('processNavigationMap failed'); } // Add in the version data in a "secret" field to be extracted in the docs app