From 6c27f7e6d640bedfb818afa89aa361338e80e0cf Mon Sep 17 00:00:00 2001 From: Sidney Beekhoven <903673+dizney@users.noreply.github.com> Date: Thu, 6 Oct 2022 14:56:54 +0200 Subject: [PATCH] docs: fix android code example Update the android code example in the README.md to call the load method after configuring the builder. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cca1a03..e4e43cf 100644 --- a/README.md +++ b/README.md @@ -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"); ```