Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pandoc.ex2
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