From fb0b8f88f7bd206511bae56074883bf9c37af7fa Mon Sep 17 00:00:00 2001 From: Tony Salomone <dadmobile@gmail.com> Date: Fri, 18 Oct 2024 11:30:09 -0400 Subject: [PATCH] Return status object (with message) on missing conda env. --- src/main/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/util.ts b/src/main/util.ts index a01b3b6a..61eceac9 100644 --- a/src/main/util.ts +++ b/src/main/util.ts @@ -372,7 +372,7 @@ export async function checkIfCondaEnvironmentExists() { } else { response.status = 'error'; response.message = 'Conda environment "transformerlab" not found.'; - return false; + return response; } } -- GitLab