Skip to content

Commit a527c28

Browse files
committed
chore: include change in non-archive as well
1 parent ae7ec10 commit a527c28

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/igniter.ex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,11 @@ defmodule Igniter do
453453

454454
if Igniter.Mix.Task.igniter_task?(task) do
455455
if !task.supports_umbrella?() && Mix.Project.umbrella?() do
456-
add_issue(igniter, "Cannot run #{inspect(task)} in an umbrella project.")
456+
Igniter.add_issue(
457+
igniter,
458+
"Cannot run #{Mix.Task.task_name(task)} in an umbrella project. " <>
459+
"Please run the installer from within one of the sub-application folders instead."
460+
)
457461
else
458462
igniter
459463
|> Map.put(:task, Mix.Task.task_name(task))

0 commit comments

Comments
 (0)