From a01e4296aa5af5c22d9bbebce814714f9d46bad1 Mon Sep 17 00:00:00 2001 From: Bohdan Ohorodnii Date: Tue, 7 Nov 2023 20:48:57 +0200 Subject: [PATCH] fix when compilation is failed to return null filemap --- api/src/handlers/compile.rs | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/api/src/handlers/compile.rs b/api/src/handlers/compile.rs index 00fafcf0..dc758a18 100644 --- a/api/src/handlers/compile.rs +++ b/api/src/handlers/compile.rs @@ -106,18 +106,29 @@ pub async fn do_compile(remix_file_path: PathBuf) -> Result