Merge develop into feature/meta-data-function

This commit is contained in:
umeshp7
2020-04-27 21:01:19 +05:30
20 changed files with 1151 additions and 192 deletions

View File

@@ -81,7 +81,8 @@ class SchemaPack {
);
// hardcoding this option - not exposed to users yet
this.computedOptions.schemaFaker = true;
this.metaData = null;
let indentCharacter = this.computedOptions.indentCharacter;
this.computedOptions.indentCharacter = indentCharacter === 'tab' ? '\t' : ' ';
this.validate();
}
@@ -515,8 +516,8 @@ class SchemaPack {
}, 0);
}
static getOptions() {
return getOptions();
static getOptions(mode, criteria) {
return getOptions(mode, criteria);
}
}