summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBhuwan Pandit <bhuwanpandit109@gmail.com>2024-11-17 22:49:35 +0000
committerGitHub <noreply@github.com>2024-11-17 22:49:35 +0000
commitcff6e280c77afb0bc42a10348eeef5360db8f361 (patch)
treea6920ecc1358b23661145b3c03607787a04ae9c6 /tools
parent73411bb98a677727799122ebc397d825bf95b812 (diff)
feat(cli): support multiple env file argument (#26527)
Closes #26425 ## Overview This PR adds support for specifying multiple environment files as arguments when using the Deno CLI. Subsequent files override pre-existing variables defined in previous files. If the same variable is defined in the environment and in the file, the value from the environment takes precedence. ## Example Usage ```bash deno run --allow-env --env-file --env-file=".env.one" --env-file=".env.two" script.ts ``` --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/lint.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint.js b/tools/lint.js
index 21064a05b..604dee9b3 100755
--- a/tools/lint.js
+++ b/tools/lint.js
@@ -219,7 +219,7 @@ async function ensureNoNewITests() {
"pm_tests.rs": 0,
"publish_tests.rs": 0,
"repl_tests.rs": 0,
- "run_tests.rs": 20,
+ "run_tests.rs": 18,
"shared_library_tests.rs": 0,
"task_tests.rs": 2,
"test_tests.rs": 0,