Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #73 from slheavner/bugfix/config-path
Browse files Browse the repository at this point in the history
pass config string for -c option
  • Loading branch information
nishtahir authored Apr 30, 2018
2 parents a00d9f0 + d1f6ce0 commit a2e3360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -130,4 +130,4 @@ function setupConfigurationFile(configFilePath) {
return 0;
}

module.exports = cli;
module.exports = cli;

0 comments on commit a2e3360

Please sign in to comment.