Skip to content

Commit

Permalink
🐛 Fix scripts exec
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Sep 25, 2024
1 parent 301ffd1 commit 12fdfe7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "@typebot.io/scripts",
"type": "module",
"scripts": {
"playground": "SKIP_ENV_CHECK=true dotenv -e ./.env.local -- tsx src/playground.ts",
"db:cleanDatabase": "SKIP_ENV_CHECK=true tsx src/cleanDatabase.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export const promptAndSetEnvironment = async (

require("dotenv").config({
override: true,
path: join(__dirname, `.env.${response.env}`),
path: join(__dirname, "..", `.env.${response.env}`),
});
};

0 comments on commit 12fdfe7

Please sign in to comment.