From f0ba337659bc2e7f42c6ff3fcf8271e7f751bd97 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Thu, 10 Jun 2021 15:05:33 +0530 Subject: [PATCH] Cleaned dev mode script no refs Cleans up dev mode script for lint errors --- ghost/portal/scripts/dev-mode.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/portal/scripts/dev-mode.js b/ghost/portal/scripts/dev-mode.js index cda67cdbf8..2a66fa12c6 100644 --- a/ghost/portal/scripts/dev-mode.js +++ b/ghost/portal/scripts/dev-mode.js @@ -97,11 +97,11 @@ function printConfigInstruction() { const stringifedData = JSON.stringify(data, null, 2); const splitData = stringifedData.split('\n'); log(); - splitData.forEach((data, idx, arr) => { + splitData.forEach((_data, idx, arr) => { if (idx === 0 || idx === arr.length - 1) { - log(chalk.grey(data)); + log(chalk.grey(_data)); } else { - log(chalk.bold.whiteBright(data)); + log(chalk.bold.whiteBright(_data)); } }); log();