Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mix/tasks')
-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