diff --git a/lib/mix_audit/cli/audit.ex b/lib/mix_audit/cli/audit.ex index 08b64b4..b723380 100644 --- a/lib/mix_audit/cli/audit.ex +++ b/lib/mix_audit/cli/audit.ex @@ -54,7 +54,8 @@ defmodule MixAudit.CLI.Audit do [] ignore_file -> - File.read!(ignore_file) + ignore_file + |> File.read!() |> String.split("\n") |> Enum.reject(fn line -> String.starts_with?(line, "#") || String.trim(line) == "" end) end