Skip to content

Commit

Permalink
refactor: remove invalid todo (#1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and hiroppy committed Feb 22, 2019
1 parent a2e5d12 commit 884fac0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/utils/createConfig.js
Expand Up @@ -92,10 +92,10 @@ function createConfig(config, argv, { port }) {
} else if (!/^(https?:)?\/\//.test(options.contentBase)) {
options.contentBase = path.resolve(options.contentBase);
}
// It is possible to disable the contentBase by using
// `--no-content-base`, which results in arg["content-base"] = false
} else if (argv.contentBase === false) {
// TODO doesn't work need fix, `false` in this case is string
}
// It is possible to disable the contentBase by using
// `--no-content-base`, which results in arg["content-base"] = false
else if (argv.contentBase === false) {
options.contentBase = false;
}

Expand Down

0 comments on commit 884fac0

Please sign in to comment.