From 9d9a9bb13e99332a1fbe65d807b83bd1824eda5f Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Mon, 9 Dec 2024 21:48:20 -0800
Subject: Remove some comments
---
lib/pandoc.ex | 9 ---------
lib/pandoc/watcher.ex | 1 -
mix.exs | 2 --
3 files changed, 12 deletions(-)
diff --git a/lib/pandoc.ex b/lib/pandoc.ex
index ec5ce70..57606da 100644
--- a/lib/pandoc.ex
+++ b/lib/pandoc.ex
@@ -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
diff --git a/lib/pandoc/watcher.ex b/lib/pandoc/watcher.ex
index e5439f6..c67ae26 100644
--- a/lib/pandoc/watcher.ex
+++ b/lib/pandoc/watcher.ex
@@ -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
diff --git a/mix.exs b/mix.exs
index e677a09..cdbe797 100644
--- a/mix.exs
+++ b/mix.exs
@@ -23,8 +23,6 @@ defmodule Pandoc.MixProject do
# Run "mix help deps" to learn about dependencies.
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"}
]
end
--
cgit v1.2.3