Fix: incorrect path in error message

This commit is contained in:
Pieter Vander Vennet 2023-12-12 03:43:34 +01:00
parent 7f6c1f06e2
commit 5da895276c

View file

@ -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
}
})