Skip to content

Commit f777bb4

Browse files
authored
fix: handle no_fuel_remaining in parse_with_comments (#73)
1 parent c4fd161 commit f777bb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/spitfire.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ defmodule Spitfire do
173173
case result do
174174
{:ok, ast} -> {:ok, ast, comments}
175175
{:error, ast, errors} -> {:error, ast, comments, errors}
176+
{:error, :no_fuel_remaining} -> {:error, :no_fuel_remaining}
176177
end
177178
after
178179
Process.delete(:code_formatter_comments)

0 commit comments

Comments
 (0)