Skip to content

Commit

Permalink
Convert atom to string
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis authored and maennchen committed Feb 26, 2020
1 parent 7bfd26d commit 2fb0ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/quantum/scheduler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule Quantum.Scheduler do
@otp_app Keyword.fetch!(opts, :otp_app)
@moduledoc moduledoc
|> String.replace(~r/MyApp\.Scheduler/, Enum.join(Module.split(__MODULE__), "."))
|> String.replace(~r/:my_app/, ":" <> @otp_app)
|> String.replace(~r/:my_app/, ":" <> Atom.to_string(@otp_app))

@behaviour Quantum.Scheduler

Expand Down

0 comments on commit 2fb0ef4

Please sign in to comment.