Skip to content

Commit 888ee39

Browse files
committed
Update PathProvider.java
1 parent 6be300b commit 888ee39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/io/visual_regression_tracker/sdk_java/PathProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ public String getTestRunPath() {
2323
}
2424

2525
public String getImageUrl(String name) {
26+
if(name.isEmpty()){
27+
return null;
28+
}
2629
return baseApiUrl.concat("/").concat(name);
2730
}
2831
}

0 commit comments

Comments
 (0)