index : pandoc | |
Hex package with a file-watcher and Mix task for using Pandoc to convert Markdown files to HTML. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pandoc.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pandoc.ex b/lib/pandoc.ex index ca30847..669b5ff 100644 --- a/lib/pandoc.ex +++ b/lib/pandoc.ex @@ -172,7 +172,7 @@ defmodule Pandoc do not File.cd!(opts[:cd], fn -> input_files |> Enum.map(&File.exists?(&1)) |> Enum.all?() end) do - parsed_args[:output] |> Path.expand(opts[:cd]) |> File.rm!() + parsed_args[:output] |> Path.expand(opts[:cd]) |> File.rm() else bin_path() |> System.cmd(args ++ extra_args, opts) |> elem(1) end |