From 454db3c28adb5be8706b7d513b75f5bc9f4503c7 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 24 Mar 2025 13:17:42 -0500 Subject: [PATCH] fix: Unnecessary error --- src/ReVancedBuilder/ReVancedBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReVancedBuilder/ReVancedBuilder.py b/src/ReVancedBuilder/ReVancedBuilder.py index 5a131db..4c93c23 100755 --- a/src/ReVancedBuilder/ReVancedBuilder.py +++ b/src/ReVancedBuilder/ReVancedBuilder.py @@ -202,7 +202,6 @@ if (flag != "checkonly" and not appstate["up-to-date"]) or flag in ["force", "bu if appstate["up-to-date"] and flag != "buildonly": print("There's nothing to do.") elif flag != "checkonly": - err_exit("", appstate, 0) try: os.rename("versions.json", "versions-old.json") except FileNotFoundError: @@ -217,6 +216,7 @@ elif flag != "checkonly": subprocess.run(cmd, shell=True) except Exception as ex: print(f"Got exception while running the build: '{ex}'") + err_exit("", appstate, 0) # Delete the lockfile os.remove("lockfile")