File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Change how your team works.
16
16
  ;
17
17
18
18
19
- # tea/cli 0.6.9
19
+ # tea/cli 0.6.10
20
20
21
21
tea is a universal virtual‑environment manager:
22
22
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export class Range {
153
153
return '*'
154
154
} else {
155
155
return this . set . map ( ( [ v1 , v2 ] ) => {
156
- if ( v2 . minor == 0 && v2 . patch == 0 ) {
156
+ if ( v2 . major == v1 . major + 1 && v2 . minor == 0 && v2 . patch == 0 ) {
157
157
const v = chomp ( v1 )
158
158
return `^${ v } `
159
159
} else if ( v2 . major == Infinity ) {
@@ -164,7 +164,7 @@ export class Range {
164
164
if ( v ) {
165
165
return `@${ v } `
166
166
} else {
167
- return `>=${ v1 } <${ v2 } `
167
+ return `>=${ chomp ( v1 ) } <${ chomp ( v2 ) } `
168
168
}
169
169
}
170
170
} ) . join ( "," )
You can’t perform that action at this time.
0 commit comments