From: Jérôme Benoit Date: Sun, 14 Jul 2024 11:25:33 +0000 (+0200) Subject: chore: only warn in case of unsupported JS runtime usage X-Git-Tag: ocpp-server@v1.5.0~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fb51103c622779bb9c43110121e8002e7d107d7b;p=e-mobility-charging-stations-simulator.git chore: only warn in case of unsupported JS runtime usage Signed-off-by: Jérôme Benoit --- diff --git a/build-requirements.js b/build-requirements.js index c4f5dca9..e6acc823 100644 --- a/build-requirements.js +++ b/build-requirements.js @@ -34,6 +34,6 @@ switch (runtime) { case runtimes.workerd: case runtimes.browser: default: - console.error(chalk.red(`Unsupported ${runtime} runtime detected`)) + console.warn(chalk.yellow(`Unsupported '${runtime}' runtime detected`)) break }