Skip to content

Commit 7fc7794

Browse files
authored
docs: fix android code example (#36)
Update the android code example in the README.md to call the load method after configuring the builder.
1 parent d253407 commit 7fc7794

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ dotenv.get("MY_ENV_VAR1")
8282
```java
8383
Dotenv dotenv = Dotenv.configure()
8484
.directory("/assets")
85-
.filename("env"); // instead of '.env', use 'env'
85+
.filename("env") // instead of '.env', use 'env'
86+
.load();
8687

8788
dotenv.get("MY_ENV_VAR1");
8889
```

0 commit comments

Comments
 (0)