From 947ed4bf521a6bb1af5a08955149967ff698d5b4 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Mon, 9 May 2022 16:40:16 -0500 Subject: [PATCH] Hide merges by default --- helpers/build-app-list.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/helpers/build-app-list.js b/helpers/build-app-list.js index 5a6c554..fa8a193 100644 --- a/helpers/build-app-list.js +++ b/helpers/build-app-list.js @@ -13,6 +13,9 @@ import { eitherMatches } from './matching.js' import { getAppEndpoint } from './app-derived' import { makeSlug } from './slug.js' +import { + cliOptions +} from '~/helpers/cli-options.js' const md = new MarkdownIt() @@ -156,7 +159,9 @@ export function buildReadmeAppList ({ readmeContent, scanListMap, commits }) { } ) } - console.log(`Merged ${alias} (${scannedApp.bundleIds[0]}) from scanned apps into ${name} from README`) + if ( cliOptions.showMerges || cliOptions.verbose ) { + console.log(`Merged ${alias} (${scannedApp.bundleIds[0]}) from scanned apps into ${name} from README`) + } scanListMap.delete( key ) } }