From f11072182cc06783f051d450497c5b60e61f25ff Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Mon, 8 Apr 2024 23:08:37 +0200 Subject: [PATCH] Print preset in error --- packages/vinxi/bin/cli.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vinxi/bin/cli.mjs b/packages/vinxi/bin/cli.mjs index 280ffa62..0a57c60c 100755 --- a/packages/vinxi/bin/cli.mjs +++ b/packages/vinxi/bin/cli.mjs @@ -285,7 +285,7 @@ const command = defineCommand({ break; default: log( - "Couldn't run an app built with the ${} preset locally. Deploy the app to a provider that supports it.", + `Couldn't run an app built with the ${process.env.SERVER_PRESET} preset locally. Deploy the app to a provider that supports it.`, ); } }, @@ -338,7 +338,7 @@ const command = defineCommand({ break; default: log( - "Couldn't run an app built with the ${} preset locally. Deploy the app to a provider that supports it.", + `Couldn't run an app built with the ${process.env.SERVER_PRESET} preset locally. Deploy the app to a provider that supports it.`, ); } },