bump to vale 3

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-01-16 14:24:07 +01:00
parent 4586968f8e
commit b1ed0ebe29
4 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ async function exitIfMissingVale() {
process.exit(1);
}
console.log(`Language linter (vale) generated errors. Please check the errors and review any markdown files that you changed.
Possibly update .github/vale/Vocab/Backstage/accept.txt to add new valid words.\n`);
Possibly update .github/vale/config/vocabularies/Backstage/accept.txt to add new valid words.\n`);
process.exit(0);
}
}
@@ -89,7 +89,7 @@ async function runVale(files) {
// If it contains system level error. In this case vale does not exist.
if (process.platform !== 'win32' || result.error) {
console.log(`Language linter (vale) generated errors. Please check the errors and review any markdown files that you changed.
Possibly update .github/vale/Vocab/Backstage/accept.txt to add new valid words.\n`);
Possibly update .github/vale/config/vocabularies/Backstage/accept.txt to add new valid words.\n`);
}
return false;
}