Correct punctuations in option descriptions and change indent option values

This commit is contained in:
shreys7
2020-04-07 13:21:33 +05:30
parent 8e31ca71b9
commit 6ade6896d8
3 changed files with 32 additions and 23 deletions

View File

@@ -81,6 +81,8 @@ class SchemaPack {
);
// hardcoding this option - not exposed to users yet
this.computedOptions.schemaFaker = true;
let indentCharacter = this.computedOptions.indentCharacter;
this.computedOptions.indentCharacter = indentCharacter === 'Tab' ? '\t' : ' ';
this.validate();
}