Remove some comments

This commit is contained in:
Catalin Constantin Mititiuc 2024-12-09 21:48:20 -08:00
parent c9cc0ed856
commit 9d9a9bb13e
3 changed files with 0 additions and 12 deletions

View File

@ -4,11 +4,6 @@ defmodule Pandoc do
""" """
def run(profile, ["--watch" | dirs]) do def run(profile, ["--watch" | dirs]) do
IO.puts("""
Pandoc watcher starting, env: #{Application.get_env(:pandoc, profile) |> inspect(pretty: true)}
""")
ref = ref =
__MODULE__.Supervisor __MODULE__.Supervisor
|> Supervisor.start_child( |> Supervisor.start_child(
@ -51,10 +46,6 @@ defmodule Pandoc do
) )
end) end)
IO.puts("""
System command running: #{inspect(Enum.join(["pandoc" | args ++ extra_args], " "))}
""")
"pandoc" |> System.cmd(args ++ extra_args, opts) |> elem(1) "pandoc" |> System.cmd(args ++ extra_args, opts) |> elem(1)
end end
end end

View File

@ -23,7 +23,6 @@ defmodule Pandoc.Watcher do
end end
def handle_info({:file_event, watcher_pid, :stop}, %{watcher_pid: watcher_pid} = state) do def handle_info({:file_event, watcher_pid, :stop}, %{watcher_pid: watcher_pid} = state) do
# Your own logic when monitor stop
{:noreply, state} {:noreply, state}
end end
end end

View File

@ -23,8 +23,6 @@ defmodule Pandoc.MixProject do
# Run "mix help deps" to learn about dependencies. # Run "mix help deps" to learn about dependencies.
defp deps do defp deps do
[ [
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:file_system, "~> 1.0"} {:file_system, "~> 1.0"}
] ]
end end