Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barrywhart committed Dec 15, 2023
1 parent 4a2b2cd commit c481ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbt_core_interface/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit c481ebb

Please sign in to comment.