Skip to content

Commit 21f8e52

Browse files
committed
fix: typo in set_yes
1 parent 55a943a commit 21f8e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mix/task.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ defmodule Igniter.Mix.Task do
178178
end
179179
else
180180
def set_yes(igniter, args) do
181-
if igniter.assigns[:test_mode?] and !Igniter.Mix.Task.tty?() do
181+
if !igniter.assigns[:test_mode?] and !Igniter.Mix.Task.tty?() do
182182
%{args | options: Keyword.put(args.options, :yes, true)}
183183
else
184184
args

0 commit comments

Comments
 (0)