Skip to content

Commit

Permalink
Update POM file with new version: 1.6.3RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Apr 26, 2023
1 parent fe3b70f commit 3881676
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.owasp.wrongsecrets.challenges.kubernetes;


import org.apache.logging.log4j.util.Strings;
import com.google.common.base.Strings;
import org.owasp.wrongsecrets.RuntimeEnvironment;
import org.owasp.wrongsecrets.ScoreCard;
import org.owasp.wrongsecrets.challenges.Challenge;
Expand Down Expand Up @@ -35,7 +35,7 @@ public boolean canRunInCTFMode() {
}

private String getAnswer() {
return vaultPassword != null && Strings.isNotEmpty(vaultPassword.getPasssword()) ? vaultPassword.getPasssword() : vaultPasswordString;
return vaultPassword != null && !Strings.isNullOrEmpty(vaultPassword.getPasssword()) ? vaultPassword.getPasssword() : vaultPasswordString;
}

/**
Expand Down

0 comments on commit 3881676

Please sign in to comment.