Skip to content

Commit

Permalink
Fix bug with CLI —-require-config and --webpack-config not working
Browse files Browse the repository at this point in the history
  • Loading branch information
pahen committed Oct 12, 2016
1 parent 97ba4c2 commit 386d710
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ if (program.showExtension) {
config.showFileExtension = true;
}

if (program.requireConfig) {
config.requireConfig = program.requireConfig;
}

if (program.webpackConfig) {
config.webpackConfig = program.webpackConfig;
}

if (!program.color) {
config.backgroundColor = '#ffffff';
config.nodeColor = '#00000';
Expand Down

0 comments on commit 386d710

Please sign in to comment.