chore: only warn in case of unsupported JS runtime usage
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 14 Jul 2024 11:25:33 +0000 (13:25 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 14 Jul 2024 11:25:33 +0000 (13:25 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
build-requirements.js

index c4f5dca97960dec7d1181ff7c6a27de7780bcf5c..e6acc8239bb5c654f98991a16fc402a5e6f5932a 100644 (file)
@@ -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
 }