From 6191d046ea89e8a1b23f577b15f53df77f9e3363 Mon Sep 17 00:00:00 2001 From: Gant Laborde Date: Fri, 17 Aug 2018 08:50:36 -0500 Subject: [PATCH] :sparkles: improve verbose --- src/extensions/functions/checkRequirement.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extensions/functions/checkRequirement.ts b/src/extensions/functions/checkRequirement.ts index 1ea5b0b..8eb0490 100644 --- a/src/extensions/functions/checkRequirement.ts +++ b/src/extensions/functions/checkRequirement.ts @@ -73,7 +73,8 @@ module.exports = async ( // Handle CLI rule check case 'cli': const cliResult = await checkCLI(rule, context) - ruleString = `${requirementName} - ${rule.binary} binary` + const semverRequirement = rule.semver || '' + ruleString = `${requirementName} - ${rule.binary} binary ${semverRequirement}` if (cliResult) { return addFailure(cliResult) } else {