remove api dir from check links script

pull/2788/head
Jérémy Rialland 2023-08-10 11:55:43 +02:00 committed by Jérémy Rialland
parent ebf2b0d379
commit e1697911a8
1 changed files with 1 additions and 1 deletions

View File

@ -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)