From ddb1a2559a4b094618185db1365ea1b6fe9fc51e Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 23 Sep 2019 16:35:13 +0800 Subject: [PATCH] lint fix --- development/show-deps-install-scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/show-deps-install-scripts.js b/development/show-deps-install-scripts.js index 65a63e134f93..03a9bb859b73 100644 --- a/development/show-deps-install-scripts.js +++ b/development/show-deps-install-scripts.js @@ -11,7 +11,7 @@ readInstalled('./', { dev: true }, function (err, data) { Object.entries(deps).forEach(([packageName, packageData]) => { const packageScripts = packageData.scripts || {} const scriptKeys = Reflect.ownKeys(packageScripts) - + const hasInstallScript = installScripts.some(installKey => scriptKeys.includes(installKey)) if (!hasInstallScript) return @@ -22,7 +22,7 @@ readInstalled('./', { dev: true }, function (err, data) { const scriptNames = Reflect.ownKeys(matchingScripts) const relativePath = path.relative(process.cwd(), packageData.path) - + console.log(`${packageName}: ${relativePath} ${scriptNames}`) }) })