Skip to content

Commit 1c5e95c

Browse files
committed
Avoid warnings
1 parent 202e92e commit 1c5e95c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/mix/tasks/esbuild.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ defmodule Mix.Tasks.Esbuild do
2727
"""
2828

2929
@shortdoc "Invokes esbuild with the profile and args"
30+
@compile {:no_warn_undefined, Mix}
3031

3132
use Mix.Task
3233

lib/mix/tasks/esbuild.install.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ defmodule Mix.Tasks.Esbuild.Install do
2222
"""
2323

2424
@shortdoc "Installs esbuild under _build"
25+
@compile {:no_warn_undefined, Mix}
26+
2527
use Mix.Task
2628

2729
@impl true

0 commit comments

Comments
 (0)