diff --git a/guide/spanish/php/PHP-Operators/index.md b/guide/spanish/php/PHP-Operators/index.md deleted file mode 100644 index c407bb2fee..0000000000 --- a/guide/spanish/php/PHP-Operators/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: PHP Operators -localeTitle: Operadores PHP ---- ## Operadores PHP - -Esto es un talón. [Ayuda a nuestra comunidad a expandirla](https://github.com/freecodecamp/guides/tree/master/src/pages/php/php-operators/index.md) . - -[Esta guía rápida de estilo ayudará a asegurar que su solicitud de extracción sea aceptada](https://github.com/freecodecamp/guides/blob/master/README.md) . - -#### Más información: \ No newline at end of file diff --git a/package.json b/package.json index 4aff45fdaa..ac25730d34 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test-ci": "npm test", "test:client": "cd ./client && npm test && cd ../", "test:curriculum": "echo 'Warning: TODO - Define Testing.'", - "test:guide-directorys": "node ./tools/scripts/ci/ensure-guide-page-naming.js", + "test:guide-directories": "node ./tools/scripts/ci/ensure-guide-page-naming.js", "test:server": "echo 'Warning: TODO - Define Testing.'", "test:tools": "jest ./tools", "start-develop": "node ./tools/scripts/start-develop.js" diff --git a/tools/scripts/ci/ensure-guide-page-naming.js b/tools/scripts/ci/ensure-guide-page-naming.js index 040a77fc22..ab285d461d 100644 --- a/tools/scripts/ci/ensure-guide-page-naming.js +++ b/tools/scripts/ci/ensure-guide-page-naming.js @@ -47,7 +47,13 @@ function checkFile(file) { } readdirp({ root: guideRoot }) - .on('data', checkFile) + .on('data', file => + checkFile(file).catch(err => { + console.error(err); + // eslint-disable-next-line no-process-exit + process.exit(1); + }) + ) .on('end', () => { console.log(`