From c481ebb40b763aa88727ae08b44645f8612d36b0 Mon Sep 17 00:00:00 2001 From: Barry Hart Date: Fri, 15 Dec 2023 09:52:12 -0500 Subject: [PATCH] Bug fix --- src/dbt_core_interface/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbt_core_interface/project.py b/src/dbt_core_interface/project.py index 071cd43..651f5a0 100644 --- a/src/dbt_core_interface/project.py +++ b/src/dbt_core_interface/project.py @@ -6267,7 +6267,7 @@ def format_sql( # NOTE: Formatting a string is not supported. LOGGER.info(f"formatting file: {sql_path}") sql = Path(sql_path) - if not sql: + if not sql_path: response.status = 400 return { "error": {