Skip to content

Commit

Permalink
fix: looser match on git change detection
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 11, 2024
1 parent 5d436d6 commit 9f1b739
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/igniter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -951,9 +951,6 @@ defmodule Igniter do
{"", _} ->
message

{"fatal: not a git repository" <> _, 128} ->
message

{output, 0} ->
"""
#{IO.ANSI.red()}Warning! Uncommitted git changes detected in the project. #{IO.ANSI.reset()}
Expand All @@ -964,6 +961,9 @@ defmodule Igniter do
#{message}
"""

_ ->
message
end
end
else
Expand Down

0 comments on commit 9f1b739

Please sign in to comment.