Emit identical message on build as before, removing confusion reported in #475
This commit is contained in:
parent
5071a2c15d
commit
5da63cb84f
1 changed files with 6 additions and 2 deletions
|
@ -265,7 +265,11 @@ end
|
||||||
# Quiet down create file
|
# Quiet down create file
|
||||||
class ::Thor::Actions::CreateFile
|
class ::Thor::Actions::CreateFile
|
||||||
def on_conflict_behavior(&block)
|
def on_conflict_behavior(&block)
|
||||||
|
if identical?
|
||||||
|
say_status :identical, :blue
|
||||||
|
else
|
||||||
say_status :create, :green
|
say_status :create, :green
|
||||||
block.call unless pretend?
|
block.call unless pretend?
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
Loading…
Reference in a new issue