Remove some comments
This commit is contained in:
parent
c9cc0ed856
commit
9d9a9bb13e
@ -4,11 +4,6 @@ defmodule Pandoc do
|
||||
"""
|
||||
|
||||
def run(profile, ["--watch" | dirs]) do
|
||||
IO.puts("""
|
||||
|
||||
Pandoc watcher starting, env: #{Application.get_env(:pandoc, profile) |> inspect(pretty: true)}
|
||||
""")
|
||||
|
||||
ref =
|
||||
__MODULE__.Supervisor
|
||||
|> Supervisor.start_child(
|
||||
@ -51,10 +46,6 @@ defmodule Pandoc do
|
||||
)
|
||||
end)
|
||||
|
||||
IO.puts("""
|
||||
System command running: #{inspect(Enum.join(["pandoc" | args ++ extra_args], " "))}
|
||||
""")
|
||||
|
||||
"pandoc" |> System.cmd(args ++ extra_args, opts) |> elem(1)
|
||||
end
|
||||
end
|
||||
|
@ -23,7 +23,6 @@ defmodule Pandoc.Watcher do
|
||||
end
|
||||
|
||||
def handle_info({:file_event, watcher_pid, :stop}, %{watcher_pid: watcher_pid} = state) do
|
||||
# Your own logic when monitor stop
|
||||
{:noreply, state}
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user