From d2458578d794736ab7696a8faeea616b7237e003 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Sun, 23 Feb 2020 19:44:17 +0100 Subject: [PATCH] Cleanup unreachable message --- Sources/arm/util/BuildMacros.hx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Sources/arm/util/BuildMacros.hx b/Sources/arm/util/BuildMacros.hx index e704697b..2a61f8c4 100644 --- a/Sources/arm/util/BuildMacros.hx +++ b/Sources/arm/util/BuildMacros.hx @@ -10,11 +10,6 @@ class BuildMacros { macro public static function sha():ExprOf { 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()); } }