From d1f6ce07a14e036a20f542d17603b27dcc407eac Mon Sep 17 00:00:00 2001 From: Samuel Heavner Date: Mon, 30 Apr 2018 11:19:40 -0400 Subject: [PATCH] pass config string for -c option --- lib/cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cli.js b/lib/cli.js index 756558f..be70b40 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -53,7 +53,7 @@ const cli = { return handleInitialize(currentOptions); } else if (currentOptions.config) { - return handleConfiguration(currentOptions); + return handleConfiguration(currentOptions.config); } else if (currentOptions.help || !files.length) { @@ -130,4 +130,4 @@ function setupConfigurationFile(configFilePath) { return 0; } -module.exports = cli; \ No newline at end of file +module.exports = cli;