Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit 1659d45

Browse files
author
Erfan Shamabadi
committed
fix finding untagged packages after tagged packages
Tag information did not set for untagged packages and installer used tag information of previous package.
1 parent ae7791e commit 1659d45

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Bowerphp/Repository/GithubRepository.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public function findPackage($rawCriteria = '*')
102102

103103
// edge case: package has no tags
104104
if (count($tags) === 0) {
105+
$this->tag = ['name' => 'master'];
106+
105107
return 'master';
106108
}
107109

0 commit comments

Comments
 (0)