You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output.write(`ERROR: ${collectionType} '${c}' is missing one of the following required properties in its ${devcontainerJsonName}: 'id', 'version', 'name'.`,LogLevel.Error);
199
+
return;
200
+
}
201
+
202
+
// Validate that the 'id' field in the metadata property matches the folder name
203
+
if(c!==metadata.id){
204
+
output.write(`ERROR: ${collectionType} id '${metadata.id}' does not match its containing folder name '${c}'.`,LogLevel.Error);
output.write(`${collectionType} '${c}' is missing one of the following required properties in its ${devcontainerJsonName}: 'id', 'version', 'name'.`,LogLevel.Error);
0 commit comments