From 5bbd97588cef441b2a3d41104d249c46555cb2dc Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Mon, 28 Aug 2023 19:15:34 +0200 Subject: [PATCH] Remove duplicate slash from wildcard files (should be cosmetic only) --- javascript/ext_wildcards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ext_wildcards.js b/javascript/ext_wildcards.js index ae40110..4eb97c6 100644 --- a/javascript/ext_wildcards.js +++ b/javascript/ext_wildcards.js @@ -35,7 +35,7 @@ class WildcardParser extends BaseTagParser { } wildcards = wildcards.concat(getDescendantProp(yamlWildcards[wcPair[0]], wcPair[1])); } else { - const fileContent = (await readFile(`${wcPair[0]}/${wcPair[1]}.txt`)).split("\n") + const fileContent = (await readFile(`${wcPair[0]}${wcPair[1]}.txt`)).split("\n") .filter(x => x.trim().length > 0 && !x.startsWith('#')); // Remove empty lines and comments wildcards = wildcards.concat(fileContent); }