summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-01-22 10:27:14 +1100
committerGitHub <noreply@github.com>2024-01-22 00:27:14 +0100
commitb4990d1aa233db662cf22d7f872d45b3a947e0f6 (patch)
tree7009b20a5d05e5e2e2d3d9c79fdd8974347f69a3 /cli/tests/testdata
parent983c745d4f385594638c42c107dca7d55afd0731 (diff)
refactor: don't error when `.env` is not present (#21879)
Uses similar format to when the latest version of std is implicitly being used. Closes #21788
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/eval/env_file_missing.out2
-rw-r--r--cli/tests/testdata/run/env_file_missing.out4
2 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/eval/env_file_missing.out b/cli/tests/testdata/eval/env_file_missing.out
new file mode 100644
index 000000000..221acab93
--- /dev/null
+++ b/cli/tests/testdata/eval/env_file_missing.out
@@ -0,0 +1,2 @@
+Warning The `--env` flag was used, but the dotenv file 'missing' was not found.
+undefined
diff --git a/cli/tests/testdata/run/env_file_missing.out b/cli/tests/testdata/run/env_file_missing.out
new file mode 100644
index 000000000..ae1f8f595
--- /dev/null
+++ b/cli/tests/testdata/run/env_file_missing.out
@@ -0,0 +1,4 @@
+Warning The `--env` flag was used, but the dotenv file 'missing' was not found.
+undefined
+undefined
+undefined