xorpaul/g10k

correct_and_warn always issues warning even if environment name is not changed

Closed this issue · 1 comments

When setting invalid_branches to correct_and_warn, every environment is printed with a warning that the name was change, even if none of the names were changed.

The documentation is not clear that this is expected.

I suspect the appropriate situation to check if oldBranch != renamedBranch before warnF()/debugF().

You're right, there's no reason to output every environment name, when it's not modified: e192e64
Check out:
https://github.com/xorpaul/g10k/releases/tag/v0.6.0