Skip to content

Commit

Permalink
chore: clean up typos
Browse files Browse the repository at this point in the history
Signed-off-by: Dustin Popp <[email protected]>
  • Loading branch information
dpopp07 committed Sep 27, 2024
1 parent 3acb774 commit e80a708
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions packages/validator/src/cli-validator/run-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ async function runValidator(cliArgs, parseOptions = {}) {
}

// If multiple files were specified and the quality score is requested, exit with an error.
// If we change this in the future to support multiple score tables, we'll need to look at
// the scoring logic - we make an assumption that the length is 0 in 'scoring-tool/index.js'.
// We could change this behavior in the future.
if (filesToValidate.length > 1 && context.config.produceQualityScore) {
logger.error(
'At most one file can be specified when the quality score is requested.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
* SPDX-License-Identifier: Apache2.0
*/

// !!! quality score - produce both tables
// !!! quality score - summary - produce simple table only
// !!! quality score - error only - produce tables without warning rules
// !!! quality score - json output - no difference

const {
extractValuesFromTable,
getCapturedText,
Expand Down

0 comments on commit e80a708

Please sign in to comment.