Fix indentation (TAB instead of spaces)
This commit is contained in:
parent
a23f87ee35
commit
0b21596e46
@ -93,7 +93,7 @@ int main(int argc, char *argv[])
|
||||
json document;
|
||||
|
||||
try {
|
||||
std::cin >> document;
|
||||
std::cin >> document;
|
||||
validator.validate(document);
|
||||
} catch (std::exception &e) {
|
||||
std::cerr << "schema validation failed\n";
|
||||
|
||||
@ -344,7 +344,7 @@ void json_validator::validate(const json &instance, const json &schema_, const s
|
||||
try {
|
||||
validate(instance, attr.value(), name);
|
||||
ok = false;
|
||||
} catch (std::exception &) {
|
||||
} catch (std::exception &) {
|
||||
ok = true;
|
||||
}
|
||||
if (!ok)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user