Skip to content

Commit ffee267

Browse files
Merge pull request #99 from Tinder/issue_95
Adds logic to check for outputPath
2 parents 43d0025 + 135e9f6 commit ffee267

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/bazel_diff/main.java

+4
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ public Integer call() throws IOException {
111111
System.out.println("finalHashesJSONPath does not exist! Exiting");
112112
return ExitCode.USAGE;
113113
}
114+
if (outputPath == null) {
115+
System.out.println("outputPath was not provided! Exiting");
116+
return ExitCode.USAGE;
117+
}
114118
GitClient gitClient = new GitClientImpl(workspacePath);
115119
BazelClient bazelClient = new BazelClientImpl(
116120
workspacePath,

0 commit comments

Comments
 (0)