Skip to content

Commit 6671737

Browse files
committed
check for --no-compile
1 parent b5b7bcc commit 6671737

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/mix/tasks/sentry.send_test_event.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ defmodule Mix.Tasks.Sentry.SendTestEvent do
88
"""
99

1010
def run(args) do
11-
Mix.Project.compile(args)
11+
unless "--no-compile" in args do
12+
Mix.Project.compile(args)
13+
end
14+
1215
Application.ensure_all_started(:sentry)
1316

1417
Sentry.Client.get_dsn!

0 commit comments

Comments
 (0)