Skip to content

Commit

Permalink
Subclass ComposerVersionRange from NpmVersionRange #134
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Jun 26, 2024
1 parent 205d7c4 commit f5dc731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univers/version_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ class NugetVersionRange(MavenVersionRange):
version_class = versions.NugetVersion


class ComposerVersionRange(VersionRange):
class ComposerVersionRange(NpmVersionRange):
# TODO composer may need its own scheme see https//github.com/nexB/univers/issues/5
# and https//getcomposer.org/doc/articles/versions.md
scheme = "composer"
Expand Down

0 comments on commit f5dc731

Please sign in to comment.