From 5da895276c5d5447bea7094d81d371e99458ff7e Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 12 Dec 2023 03:43:34 +0100 Subject: [PATCH] Fix: incorrect path in error message --- scripts/ScriptUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ScriptUtils.ts b/scripts/ScriptUtils.ts index 26b4fc2388..2a9ac68bc5 100644 --- a/scripts/ScriptUtils.ts +++ b/scripts/ScriptUtils.ts @@ -88,7 +88,7 @@ export default class ScriptUtils { const parsed = JSON.parse(contents) return { parsed, path } } catch (e) { - console.error("Could not parse file ", "./assets/layers/" + path, "due to ", e) + console.error("Could not parse file ", path, "due to ", e) throw e } })