Skip to content

Commit

Permalink
fix for #1656 another solution
Browse files Browse the repository at this point in the history
  • Loading branch information
vinogradoff committed Dec 9, 2021
1 parent 98ff878 commit e4e7d73
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ public boolean headless() {
}

@Override
/**
* Returns null, if remote parameter unset or empty string
*/
public String remote() {
if (Configuration.remote != null && Configuration.remote.trim().equals("")) return null;
return Configuration.remote;
}

Expand Down

0 comments on commit e4e7d73

Please sign in to comment.