Skip to content

Commit

Permalink
fix is_endpoint? error in main (#157)
Browse files Browse the repository at this point in the history
Fix errant predication error
  • Loading branch information
MikaAK authored Apr 8, 2024
1 parent 6c63d3c commit 1c8388f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sobelow.ex
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ defmodule Sobelow do
meta_file.router? ->
Map.update!(acc, :routers, &[meta_file.file_path | &1])

meta_file.endpoint? ->
meta_file.is_endpoint? ->
Map.update!(acc, :endpoints, &[meta_file.file_path | &1])

true ->
Expand Down

0 comments on commit 1c8388f

Please sign in to comment.