sometimesfood/wright

Inconsistent notification message format for update actions

Closed this issue · 0 comments

In dry-run mode, the info message format for update actions is different from the format of all other notifications:

Wright.dry_run do
  file '/tmp/foobar' do |f|
    f.on_update = -> {}
  end
end

Current output:

INFO: (would) create file: '/tmp/foobar'
INFO: Would trigger update action for file '/tmp/foobar'

This should be more in line with the "(would) do something" convention that is used elsewhere.