Cleanup unreachable message
This commit is contained in:
@@ -10,11 +10,6 @@ class BuildMacros {
|
||||
|
||||
macro public static function sha():ExprOf<String> {
|
||||
var proc = new sys.io.Process("git", ["log", "--pretty=format:'%h'", "-n", "1"]);
|
||||
try {
|
||||
return Context.makeExpr(proc.stdout.readLine(), Context.currentPos());
|
||||
}
|
||||
catch (e:Dynamic) {
|
||||
throw "- use 'git clone --recursive https://github.com/armory3d/armorpaint' to compile armorpaint";
|
||||
}
|
||||
return Context.makeExpr(proc.stdout.readLine(), Context.currentPos());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user