Skip to content

Commit

Permalink
Check git version for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoVignati committed Apr 20, 2020
1 parent 0574524 commit 05f2aea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static boolean prerequisites() {

ProcessBuilder processBuilder = new ProcessBuilder();

if (isUnix())
if (isUnix() || isMac())
processBuilder.command("bash", "-c", "git --version");
else if (isWindows())
processBuilder.command("cmd.exe", "/c", "git --version");
Expand Down

0 comments on commit 05f2aea

Please sign in to comment.