From e1697911a8c2f4dc8ae144e0dbd02db64a637907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 10 Aug 2023 11:55:43 +0200 Subject: [PATCH] remove api dir from check links script --- scripts/check-links-validity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-links-validity.js b/scripts/check-links-validity.js index 0b11bf330..f670b5c37 100644 --- a/scripts/check-links-validity.js +++ b/scripts/check-links-validity.js @@ -9,7 +9,7 @@ dotenv.config() // Extrait la liste des liens référencés dans la base de code const { stdout, stderr } = await promisify(exec)( - "rg -oNI -e 'https?://([\\w/_\\-?=%+@]|\\.\\w)+' -g '*.{yaml,ts,tsx,js,jsx}' -g '!*-en.yaml' ./ | sort | uniq" + "rg -oNI -e 'https?://([\\w/_\\-?=%+@]|\\.\\w)+' -g '*.{yaml,ts,tsx,js,jsx}' -g '!*-en.yaml' -g '!api' ./ | sort | uniq" ) if (stderr) { throw new Error(stderr)