Skip to content

Commit

Permalink
Check on version if versions do not match require package again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Helmus committed Apr 12, 2022
1 parent 347693a commit c258a2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 1.3.0
### Added
- Check on version if versions do not match require package again.

## 1.2.0
### Changed
- Vendor name of the module to Youwe.
Expand Down
1 change: 1 addition & 0 deletions src/DependencyInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public function installPackage(string $name, string $version, bool $dev = true)

if (array_key_exists($node, $this->definition)
&& array_key_exists($name, $this->definition[$node])
&& $this->definition[$node][$name] === $version
) {
return;
}
Expand Down

0 comments on commit c258a2a

Please sign in to comment.