Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-12-12 12:28:47 -0800
committerCatalin Mititiuc <webdevcat@proton.me>2024-12-12 12:28:47 -0800
commit16d8324d0ca8d78d050f0dd03d718e5af2773dc2 (patch)
treeaab755956d0eeb206eb48117300ce974cbc0ecb3 /lib
parentbb77e0572a0b2aa47168f78fe7565f1fbc84cf98 (diff)
Pass full path to call to pandoc in mix task
Diffstat (limited to 'lib')
-rw-r--r--lib/mix/tasks/pandoc.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pandoc.ex b/lib/mix/tasks/pandoc.ex
index 179eab8..2c1573d 100644
--- a/lib/mix/tasks/pandoc.ex
+++ b/lib/mix/tasks/pandoc.ex
@@ -36,7 +36,7 @@ defmodule Mix.Tasks.Pandoc do
|> Path.join("*#{@ext}")
|> Path.wildcard()
|> Enum.each(fn path ->
- case Pandoc.run(profile, Path.basename(path)) do
+ case Pandoc.run(profile, path) do
0 -> :ok
status -> Mix.raise("`mix pandoc #{Enum.join(all, " ")}` exited with #{status}")
end