Skip to content

Commit

Permalink
docs: fix android code example (#36)
Browse files Browse the repository at this point in the history
Update the android code example in the README.md to call the load method after configuring the builder.
  • Loading branch information
dizney authored Nov 23, 2022
1 parent d253407 commit 7fc7794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ dotenv.get("MY_ENV_VAR1")
```java
Dotenv dotenv = Dotenv.configure()
.directory("/assets")
.filename("env"); // instead of '.env', use 'env'
.filename("env") // instead of '.env', use 'env'
.load();

dotenv.get("MY_ENV_VAR1");
```
Expand Down

0 comments on commit 7fc7794

Please sign in to comment.