Skip to content

Commit 884fac0

Browse files
evilebottnawihiroppy
authored andcommitted
refactor: remove invalid todo (#1683)
1 parent a2e5d12 commit 884fac0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/utils/createConfig.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ function createConfig(config, argv, { port }) {
9292
} else if (!/^(https?:)?\/\//.test(options.contentBase)) {
9393
options.contentBase = path.resolve(options.contentBase);
9494
}
95-
// It is possible to disable the contentBase by using
96-
// `--no-content-base`, which results in arg["content-base"] = false
97-
} else if (argv.contentBase === false) {
98-
// TODO doesn't work need fix, `false` in this case is string
95+
}
96+
// It is possible to disable the contentBase by using
97+
// `--no-content-base`, which results in arg["content-base"] = false
98+
else if (argv.contentBase === false) {
9999
options.contentBase = false;
100100
}
101101

0 commit comments

Comments
 (0)