diff --git a/lib/mix_machine/format/sarif.ex b/lib/mix_machine/format/sarif.ex index fcc0d68..9779d07 100644 --- a/lib/mix_machine/format/sarif.ex +++ b/lib/mix_machine/format/sarif.ex @@ -104,5 +104,6 @@ defmodule MixMachine.Format.Sarif do defp normalize(nil), do: {1, 1, 1, 1} defp normalize(line) when is_integer(line), do: {line, 1, line, 1} + defp normalize({line, col}), do: {line, col, line, col} defp normalize(tuple), do: tuple end