Skip to content

Commit

Permalink
fix: minor output formatting tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Dustin Popp <[email protected]>
  • Loading branch information
dpopp07 committed Apr 2, 2024
1 parent 588a0f4 commit a566ef4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/validator/src/cli-validator/run-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ async function runValidator(cliArgs, parseOptions = {}) {
});

if (unsupportedExtensionsFound) {
logger.warn('Supported file types are JSON (.json) and YAML (.yml, .yaml)');
logger.warn(
'Supported file types are JSON (.json) and YAML (.yml, .yaml)\n'
);
}

// Globby is used in an unconventional way here.
Expand Down Expand Up @@ -233,7 +235,7 @@ async function runValidator(cliArgs, parseOptions = {}) {
if (warningsLimit >= 0 && numWarnings > warningsLimit) {
exitCode = 1;
logger.error(
`Number of warnings (${numWarnings}) exceeds warnings limit (${warningsLimit}).`
`Number of warnings (${numWarnings}) exceeds warnings limit (${warningsLimit}).\n`
);
}

Expand Down

0 comments on commit a566ef4

Please sign in to comment.