File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public Category(XmlNode node)
122122
123123 Title = GetAttribute ( node , "title" , true ) ;
124124 Description = GetAttribute ( node , "description" , true ) ;
125- Required = ID . StartsWith ( "core" ) ;
125+ Required = ID . Split ( '-' ) . FirstOrDefault ( ) == "core" ;
126126 }
127127
128128 protected static string GetAttribute ( XmlNode node , string attribute , bool throwError )
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ public Category(XmlNode node)
144144
145145 Title = GetAttribute ( node , "title" , true ) ;
146146 Description = GetAttribute ( node , "description" , true ) ;
147- Required = ID . StartsWith ( "core" ) ;
147+ Required = ID . Split ( '-' ) . FirstOrDefault ( ) == "core" ;
148148 }
149149
150150 protected static string GetAttribute ( XmlNode node , string attribute , bool throwError )
@@ -346,7 +346,7 @@ void AddToQueue(Component component, long oldSize)
346346 update = componentData [ 0 ] != component . Hash ;
347347 oldSize = long . Parse ( componentData [ 1 ] ) ;
348348 }
349- else if ( component . ID . StartsWith ( "core" ) )
349+ else if ( component . Required )
350350 {
351351 update = true ;
352352 }
You can’t perform that action at this time.
0 commit comments