AnayzeMetadata: Fix error case that would never match
This commit is contained in:
parent
03db495e1d
commit
b3214be32f
|
@ -78,7 +78,7 @@ defp media_dimensions(file) do
|
|||
%{width: width, height: height}
|
||||
else
|
||||
nil -> {:error, {:ffprobe, :command_not_found}}
|
||||
{:error, _} = error -> error
|
||||
error -> {:error, error}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue