mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
[bun install] Fix bug with ~Tilda
This commit is contained in:
@@ -1200,7 +1200,7 @@ pub const Query = struct {
|
||||
};
|
||||
},
|
||||
.tilda => {
|
||||
if (version.minor == 0 or this.wildcard == .minor or this.wildcard == .major) {
|
||||
if (this.wildcard == .minor or this.wildcard == .major) {
|
||||
return Range.initWildcard(version, .minor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user