From 0dc5cb2bc17a50a7e03fe5711802800facc1bf85 Mon Sep 17 00:00:00 2001 From: BurnyLlama Date: Fri, 4 Aug 2023 20:14:57 +0200 Subject: [PATCH] Fixes in build system... --- build.js | 3 ++- parseTemplate.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.js b/build.js index 88092fa..c8feab9 100644 --- a/build.js +++ b/build.js @@ -61,6 +61,7 @@ export default function buildNebulosa(debug) { } // If the file is run directly from the commandline, build Nebulosa. -if (import.meta.url === `file://${process.argv[0]}`) { +if (import.meta.url === `file://${process.argv[1]}`) { + log("Building Nebulosa...") buildNebulosa(false) } \ No newline at end of file diff --git a/parseTemplate.js b/parseTemplate.js index d0244ba..8f7b15f 100644 --- a/parseTemplate.js +++ b/parseTemplate.js @@ -32,7 +32,6 @@ function flattenObject(object) { export default function parseTemplate(template, data) { const flattenedData = flattenObject(data) - log("Loaded config:") return template // Syntax: {{ variableName }}