From e98bdeb3f7a7d5659288a5cfd09336883e15df2e Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Mon, 21 Oct 2024 16:37:46 +0100 Subject: [PATCH] Fix: Support for node v23.0.0 (fixes #3618) --- grunt/helpers/data/Language.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grunt/helpers/data/Language.js b/grunt/helpers/data/Language.js index 2cb10dabe..e52131d3f 100644 --- a/grunt/helpers/data/Language.js +++ b/grunt/helpers/data/Language.js @@ -38,7 +38,7 @@ class Language { /** @type {string} */ this.jsonext = jsonext; /** @type {string} */ - this.path = languagePath.replace(/\\/g, '/'); + this.path = path.normalize(languagePath).replace(/\\/g, '/'); /** @type {string} */ this.name = this.path.split('/').filter(Boolean).pop(); /** @type {string} */