Skip to content

Commit

Permalink
Fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
radiospiel committed Oct 7, 2020
1 parent c8d8b74 commit 85bb325
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ex_minimatch/compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ defmodule ExMinimatch.Compiler do
|> continue
end

def parse(%{c: c} = state) when c == "/", do: state |> merge %{failed: true}
def parse(%{c: c} = state) when c == "/" do
state |> merge(%{failed: true})
end

def parse(%{c: c} = state) when c == "\\" do
state
Expand Down

0 comments on commit 85bb325

Please sign in to comment.