From 9063dba80b9a0e7bd5f994eb1be23d88fd7fe644 Mon Sep 17 00:00:00 2001 From: Giacomo Petri <106394951+giacomo-petri@users.noreply.github.com> Date: Sat, 9 Dec 2023 20:49:31 +0100 Subject: [PATCH] Update spelling.js --- __tests__/spelling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/spelling.js b/__tests__/spelling.js index 0a0d4d5db1..1d0a166ff9 100755 --- a/__tests__/spelling.js +++ b/__tests__/spelling.js @@ -109,7 +109,7 @@ function getCuratedMarkdownBody(body, options = {}) { * @returns {String[]} */ function getSpellIgnored() { - const ignoreConfigured = yaml.safeLoad(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8')) + const ignoreConfigured = yaml.safeLoad(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8'), {schema: yaml.FAILSAFE_SCHEMA}) //added schema due to entries starting with a non-zero digit /* Building spelling exception in the shape FOOxxx where xxx is a number.