From fe1ef039e670102298b44232eab35f3814e85b64 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 12 Mar 2024 23:48:34 -0700 Subject: [PATCH] bugfix: don't run car.load on syntax errors --- 0160-run_app | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0160-run_app b/0160-run_app index 0060424..09b4803 100644 --- a/0160-run_app +++ b/0160-run_app @@ -5,10 +5,10 @@ run_app = function() print = print_to_output -- ## run local error = eval_all() - if car.load then call_protected(car.load) end - if car.initialize then call_protected(car.initialize) end -- ## run: save some stuff, clean up the rest if error == nil then + if car.load then call_protected(car.load) end + if car.initialize then call_protected(car.initialize) end Show_code = nil else print = Real_print