Skip to content

Commit

Permalink
fix: enable list-locales in print mode
Browse files Browse the repository at this point in the history
  • Loading branch information
satya-nutella committed Sep 7, 2021
1 parent b438d11 commit 09bd595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-cli/cli-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ function getFlags(manualArgv, options = {}) {
// - We're just printing the config.
// - We're in auditMode (and we have artifacts already)
// If one of these don't apply, if no URL, stop the program and ask for one.
const isPrintSomethingMode = argv.listAllAudits || argv.listTraceCategories || argv.printConfig;
const isPrintSomethingMode = argv.listAllAudits || argv.listLocales || argv.listTraceCategories || argv.printConfig;
const isOnlyAuditMode = !!argv.auditMode && !argv.gatherMode;
if (isPrintSomethingMode || isOnlyAuditMode) {
return true;
Expand Down

0 comments on commit 09bd595

Please sign in to comment.