Skip to content
Snippets Groups Projects
Commit 87de2d2e authored by Alvaro Cabrera's avatar Alvaro Cabrera
Browse files

Fix: properly faked patternProperties

parent b57e09b0
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -57,7 +57,7 @@ var objectType: FTypeGenerator = function objectType(value: IObjectSchema, path,
patternPropertyKeys.forEach(function (_key) {
if (key.match(new RegExp(_key))) {
found = true;
props[key] = patternProperties[_key];
props[randexp(key)] = patternProperties[_key];
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment