From 1baa2dc2a64af21e6e3db4b8640f19d9f995ab21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vlas=C3=A1k?= Date: Thu, 27 Aug 2020 13:51:29 +0200 Subject: [PATCH] fix: update CLIReporter error message to be more clear about the fix command --- src/reporters/CLIReporter.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/reporters/CLIReporter.ts b/src/reporters/CLIReporter.ts index 470930880..04aa808f6 100644 --- a/src/reporters/CLIReporter.ts +++ b/src/reporters/CLIReporter.ts @@ -86,7 +86,15 @@ export class CLIReporter implements IReporter { p.practice.fix && p.evaluation === PracticeEvaluationResult.notPracticing; const fixablePractices = cwp.practicesAndComponents.filter(fixablePractice); if (fixablePractices.length) { - lines.push(bold(yellow(`These practices might be automatically fixed (re-run the command with ${italic('--fix')} option):`))); + lines.push( + bold( + yellow( + `These practices might be automatically fixed (re-run the command with ${italic('--fix')} option and on a ${bold( + 'local', + )} folder):`, + ), + ), + ); lines.push(''); for (const p of fixablePractices) {