Skip to content

Commit 94f7434

Browse files
Merge pull request #24 from Tinder/propogate_exit_code
Propogate error code
2 parents 6cf01d0 + 4c58a88 commit 94f7434

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class VersionProvider implements IVersionProvider {
66
public String[] getVersion() throws Exception {
77
return new String[] {
8-
"1.1.1"
8+
"1.2.0"
99
};
1010
}
1111
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public Integer call() throws IOException {
208208
}
209209

210210
public static void main(String[] args) {
211-
new CommandLine(new BazelDiff()).execute(args);
211+
int exitCode = new CommandLine(new BazelDiff()).execute(args);
212+
System.exit(exitCode);
212213
}
213214
}

0 commit comments

Comments
 (0)