Skip to content

Commit

Permalink
Removed unnecessary declaration from getEnvironmentVariable() metho…
Browse files Browse the repository at this point in the history
…d in `AwsDepositor` class
  • Loading branch information
dmccoystephenson committed Sep 19, 2024
1 parent 737e2fa commit 7abc88f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,6 @@ JSONObject generateAWSProfile() throws IOException {
}

static String getEnvironmentVariable(String variableName, String defaultValue) {
// get all environment variables
Map<String, String> env = System.getenv();
String value = System.getenv(variableName);
if (value == null || value.equals("")) {
System.out.println("Something went wrong retrieving the environment variable " + variableName);
Expand Down

0 comments on commit 7abc88f

Please sign in to comment.