Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Cli : set defaults : field stripPrefixMulti (#213)
Browse files Browse the repository at this point in the history
The field `stripPrefixMulti` not working when we use the command-line interface
  • Loading branch information
Fridus authored and jeffposnick committed Nov 16, 2016
1 parent 99fca59 commit 3ba28f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function setDefaults(cli, configFileFlags) {
compositeFlags.stripPrefix = compositeFlags.stripPrefix ||
configFileFlags.stripPrefix || compositeFlags.root;

compositeFlags.stripPrefixMulti = compositeFlags.stripPrefixMulti ||
configFileFlags.stripPrefixMulti || {};

compositeFlags.swFile = compositeFlags.swFile || configFileFlags.swFile ||
'service-worker.js';
compositeFlags.swFilePath = compositeFlags.swFilePath ||
Expand Down

0 comments on commit 3ba28f9

Please sign in to comment.