Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitfred committed Oct 2, 2024
1 parent 9a863f3 commit d568f4d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions apps/transport/lib/validators/gtfs_transport_validator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,6 @@ defmodule Transport.Validators.GTFSTransport do
end
end

@spec format_severity(binary(), non_neg_integer()) :: binary()
def format_severity(key, count) do
case key do
"Fatal" -> dngettext("gtfs-transport-validator", "Fatal failure", "Fatal failures", count)
"Error" -> dngettext("gtfs-transport-validator", "Error", "Errors", count)
"Warning" -> dngettext("gtfs-transport-validator", "Warning", "Warnings", count)
"Information" -> dngettext("gtfs-transport-validator", "Information", "Informations", count)
end
end

@spec issue_type(list()) :: nil | binary()
def issue_type([]), do: nil
def issue_type([h | _]), do: h["issue_type"]
Expand Down

0 comments on commit d568f4d

Please sign in to comment.