From 4bd264f82c671f64d6b458708042e278236036ae Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Wed, 23 Oct 2024 09:53:51 +0100 Subject: [PATCH] Fix: Support for node v23.0.0 (fixes #3618) (#3619) --- 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} */