Skip to content

Commit b19e476

Browse files
authored
Merge pull request symfony-cli#12 from symfony-cli/nix-fix
Fix Nix support
2 parents 81773c0 + b1024fd commit b19e476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func (s *PHPStore) addVersion(version *Version) int {
230230
if sl != "" {
231231
s.seen[sl] = len(s.versions) - 1
232232
}
233-
return idx
233+
return len(s.versions) - 1
234234
}
235235
currentScore := 0
236236
if s.versions[idx].FPMPath != "" {

0 commit comments

Comments
 (0)