From 5115bafa3b68c9265de5d4658bb70970bcb2f979 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Tue, 11 Jul 2017 15:51:43 -0700 Subject: [PATCH] cleanup --- cli.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cli.js b/cli.js index 95239cf3..e71524c8 100644 --- a/cli.js +++ b/cli.js @@ -329,10 +329,9 @@ function resolvePluginPaths(paths) { var basename = path.basename(plugin); var dirname = path.dirname(plugin); - // support plugin specification as an installed package, which - // then may not have a directory component, resulting in - // path.dirname() to return '.', which, if passed on, would - // result in different path resolution semantics + // support plugin specification as an installed package, which then may not have a directory + // component, resulting in `path.dirname()` to return `.`, which, if passed on, would result + // in different path resolution semantics if (dirname.indexOf('.') === 0 && plugin.indexOf('.') !== 0) { dirname = undefined; }