File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -264,11 +264,21 @@ impl<'de> Deserialize<'de> for Ecosystem {
264264 |v| {
265265 let parts: Vec < & str > = v. split ( ':' ) . collect ( ) ;
266266 match parts. as_slice ( ) {
267+ [ _, ver, "LTS" ] => Ok ( Ecosystem :: Ubuntu {
268+ version : ver. to_string ( ) ,
269+ pro : true ,
270+ lts : true ,
271+ } ) ,
267272 [ ver, "LTS" ] => Ok ( Ecosystem :: Ubuntu {
268273 version : ver. to_string ( ) ,
269274 pro : true ,
270275 lts : true ,
271276 } ) ,
277+ [ ver, "LTS" , ..] => Ok ( Ecosystem :: Ubuntu {
278+ version : ver. to_string ( ) ,
279+ pro : true ,
280+ lts : true ,
281+ } ) ,
272282 [ ver] => Ok ( Ecosystem :: Ubuntu {
273283 version : ver. to_string ( ) ,
274284 pro : true ,
@@ -292,6 +302,11 @@ impl<'de> Deserialize<'de> for Ecosystem {
292302 pro : false ,
293303 lts : true ,
294304 } ) ,
305+ [ ver, "LTS" , ..] => Ok ( Ecosystem :: Ubuntu {
306+ version : ver. to_string ( ) ,
307+ pro : true ,
308+ lts : true ,
309+ } ) ,
295310 [ ver] => Ok ( Ecosystem :: Ubuntu {
296311 version : ver. to_string ( ) ,
297312 pro : false ,
You can’t perform that action at this time.
0 commit comments