Skip to content

Commit

Permalink
Add better informed .env error (#519)
Browse files Browse the repository at this point in the history
fix: add better informed .env error
  • Loading branch information
cirex-web authored Sep 21, 2024
1 parent d4df0f8 commit 3d3f355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default defineConfig(({ command, mode }) => {
const origin = env.MAPKIT_JS_ORIGIN || env.DEPLOY_PRIME_URL;

if (!teamId || !keyId || !authKey || !tokenEnvVariable || !ttl) {
console.error('Missing mandatory parameters');
console.error('Missing one or more .env variables! Make sure you have a .env file locally.');
process.exit(1);
}

Expand Down

0 comments on commit 3d3f355

Please sign in to comment.