Skip to content

Commit 9fa05ba

Browse files
committed
add ../.env file to defaults
1 parent 00e9add commit 9fa05ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ fn exit_with(message: &str) -> ! {
2323
fn default_reference_envfile() -> PathBuf {
2424
for path in &[".env.local",
2525
".env.development",
26-
".env"] {
26+
".env",
27+
"../.env",
28+
] {
2729
let p = PathBuf::from_str(path).unwrap();
2830
if p.exists() {
2931
return p;

0 commit comments

Comments
 (0)