We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76336dd commit 6818188Copy full SHA for 6818188
src/main/java/com/browserstack/local/Local.java
@@ -79,7 +79,7 @@ public void start(Map<String, String> options) throws Exception {
79
}
80
int r = proc.waitFor();
81
82
- JSONObject obj = new JSONObject(stdout != "" ? stdout : stderr);
+ JSONObject obj = new JSONObject(!stdout.equals("") ? stdout : stderr);
83
if(!obj.getString("state").equals("connected")){
84
throw new LocalException(obj.getString("message"));
85
0 commit comments