Skip to content

Commit

Permalink
Fix workingDirectory bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MikielAgutu committed Mar 2, 2020
1 parent 96b9b90 commit 3c9df12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ private static boolean needsPassword(String url) {
private static List<File> determineConfigFilesFromArgs(CommandLineArguments commandLineArguments, Map<String, String> envVars) {
List<File> configFiles = new ArrayList<>();

String workingDirectory = commandLineArguments.isWorkingDirectorySet() ? commandLineArguments.getWorkingDirectory() : "";
String workingDirectory = commandLineArguments.isWorkingDirectorySet() ? commandLineArguments.getWorkingDirectory() : null;

if (envVars.containsKey(ConfigUtils.CONFIG_FILES)) {
for (String file : StringUtils.tokenizeToStringArray(envVars.get(ConfigUtils.CONFIG_FILES), ",")) {
Expand Down

0 comments on commit 3c9df12

Please sign in to comment.