Commit c67b314a by Sébastien Eustace

Fix color displayed in show command for semver-compatible updates

parent 988a2339
......@@ -6,6 +6,10 @@
- Added support for virtualenv autogeneration (Python 3.6+ only).
### Fixed
- Fixed color displayed in `show` command for semver-compatible updates.
## [0.5.0] - 2018-03-14
......
......@@ -237,7 +237,7 @@ lists all packages available."""
if latest.full_pretty_version == package.full_pretty_version:
return 'up-to-date'
constraint = package.version
constraint = '^' + package.version
if latest.version and statisfies(latest.version, constraint):
# It needs an immediate semver-compliant upgrade
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment