Adding back off and json special cases.
This commit is contained in:
Родитель
245267deb2
Коммит
7f0bb8594a
|
@ -247,7 +247,9 @@ exports.generateUml = function generateUml(specPath, outputDir, options) {
|
|||
|
||||
exports.updateEndResultOfSingleValidation = function updateEndResultOfSingleValidation(validator) {
|
||||
if (validator.specValidationResult.validityStatus) {
|
||||
log.info('No Errors were found.');
|
||||
if (!(log.consoleLogLevel === 'json' || log.consoleLogLevel === 'off')) {
|
||||
log.info('No Errors were found.');
|
||||
}
|
||||
}
|
||||
if (!validator.specValidationResult.validityStatus) {
|
||||
process.exitCode = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче