This invariant is impossible here

This commit is contained in:
Michael Klishin 2019-11-15 03:05:46 +03:00
parent 7c0718800f
commit c73d04c216
1 changed files with 0 additions and 1 deletions

View File

@ -72,7 +72,6 @@ defmodule RabbitMQ.CLI.Ctl.Commands.ExportDefinitionsCommand do
case File.write(abs_path, body) do
# no output
:ok -> {:ok, nil}
{:badrpc, _} = err -> err
{:error, :enoent} ->
{:error, ExitCodes.exit_dataerr(), "Parent directory or file #{path} does not exist"}
{:error, :enotdir} ->