diff --git a/scripts/dotenv.sh b/scripts/dotenv.sh index a6e8eca2b8..bf302d5777 100644 --- a/scripts/dotenv.sh +++ b/scripts/dotenv.sh @@ -5,8 +5,5 @@ # usage: # bash scripts/dotenv.sh [dotenv-file] [command...] -dotenv_file="$1" -shift - # shellcheck disable=SC2046 -env $(grep -v '^#' "$dotenv_file") "${@}" +env $(grep -v '^#' "$1") "${@:2}" diff --git a/vite.config.ts b/vite.config.ts index 1bf50c66cd..b34ac493e9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,6 +6,7 @@ import unocss from "unocss/vite"; import { defineConfig } from "vitest/config"; export default defineConfig({ + envDir: "__disable", clearScreen: false, server: { port: Number(process.env.PORT ?? "3000"),