Skip to content

Commit

Permalink
Fix: Reversed red/green in --dry-run output.
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden authored and localheinz committed Mar 13, 2019
1 parent 506fdf9 commit 7f64f00
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Unreleased

For a full diff see [`1.1.3...1.x`](https://github.com/localheinz/composer-normalize/compare/1.1.3...1.x).

### [`1.1.3`](https://github.com/localheinz/composer-normalize/releases/tag/1.1.3)

For a full diff see [`1.1.2...1.1.3`](https://github.com/localheinz/composer-normalize/compare/1.1.2...1.1.3).

#### Fixed

* Reversed use of red and green for rendering diff when using the `--dry-run` option ([#173](https://github.com/localheinz/composer-normalize/pull/173)), by [@TravisCarden](https://github.com/TravisCarden)

### Unreleased

For a full diff see [`1.1.2...1.x`](https://github.com/localheinz/composer-normalize/compare/1.1.2...1.x).

### [`1.1.2`](https://github.com/localheinz/composer-normalize/releases/tag/1.1.2)
Expand Down
4 changes: 2 additions & 2 deletions src/Command/NormalizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O

$io->write([
'',
'<fg=green>--- original </>',
'<fg=red>+++ normalized </>',
'<fg=red>--- original </>',
'<fg=green>+++ normalized </>',
'',
'<fg=yellow>---------- begin diff ----------</>',
]);
Expand Down

0 comments on commit 7f64f00

Please sign in to comment.