index : pandoc | |
Hex package with a file-watcher and Mix task for using Pandoc to convert Markdown files to HTML. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2025-01-16 14:55:10 -0800 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2025-01-16 14:55:10 -0800 |
commit | f85f240e2b7ec64a96c626857281c1a7d694c053 (patch) | |
tree | 5ad1e90db954136ef54c5cbe0aa1bcf40631682e | |
parent | b8d8b3dbd88ab42fc8f050af0d18fc4dd66d7ffe (diff) |
Won't raise if deleting the output file failsv0.3.1
-rw-r--r-- | lib/pandoc.ex | 2 | ||||
-rw-r--r-- | mix.exs | 2 |
2 files changed, 2 insertions, 2 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 @@ -1,7 +1,7 @@ defmodule Pandoc.MixProject do use Mix.Project - @version "0.3.0" + @version "0.3.1" @source_url "https://webdevcat.me/git/pandoc/" def project do |