Skip to content

Commit 4ba903f

Browse files
committed
t() :: module() for Construct is not required anymore
1 parent cc48ab3 commit 4ba903f

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

lib/hemdal/host/local.ex

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ defmodule Hemdal.Host.Local do
88
"""
99
use Hemdal.Host
1010

11-
@typedoc """
12-
Because of an error in Construct, we need to provide the type
13-
`t()` for each default value if that's a module or an atom different
14-
from `nil`, `true`, `false`:
15-
16-
https://github.com/ExpressApp/construct/issues/38
17-
18-
Remove this type when the issue is closed and the code is in use by
19-
this library.
20-
"""
21-
@type t() :: module()
22-
2311
@impl Hemdal.Host
2412
@doc """
2513
Run locally a command. It's using `System.shell/2` for achieving that.

lib/hemdal/notifier/slack.ex

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ defmodule Hemdal.Notifier.Slack do
1111
require Logger
1212
alias Hemdal.Notifier
1313

14-
@typedoc """
15-
Because of an error in Construct, we need to provide the type
16-
`t()` for each default value if that's a module or an atom different
17-
from `nil`, `true`, `false`:
18-
19-
https://github.com/ExpressApp/construct/issues/38
20-
21-
Remove this type when the issue is closed and the code is in use by
22-
this library.
23-
"""
24-
@type t() :: module()
25-
2614
plug(Tesla.Middleware.BaseUrl, "https://hooks.slack.com")
2715
plug(Tesla.Middleware.JSON)
2816

0 commit comments

Comments
 (0)