Skip to content

Commit 78a0680

Browse files
committed
cs
1 parent 6164d80 commit 78a0680

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/config/path-util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module.exports = {
6868
* ok to use the publicPath as the manifestKeyPrefix.
6969
*
7070
* @param {WebpackConfig} webpackConfig
71+
* @return {void}
7172
*/
7273
validatePublicPathAndManifestKeyPrefix(webpackConfig) {
7374
if (webpackConfig.manifestKeyPrefix !== null) {

test/config/path-util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('path-util getContentBase()', () => {
3232
const config = createConfig();
3333
config.runtimeConfig.useDevServer = true;
3434
config.runtimeConfig.devServerUrl = 'http://localhost:8080/';
35-
config.outputPath = isWindows ? 'C:\\tmp\\public\\build': '/tmp/public/build';
35+
config.outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build';
3636
config.setPublicPath('/build/');
3737
config.addEntry('main', './main');
3838

@@ -83,7 +83,7 @@ describe('path-util getContentBase()', () => {
8383
it('when outputPath and publicPath are incompatible, manifestKeyPrefix must be set', () => {
8484
const config = createConfig();
8585

86-
config.outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build';
86+
config.outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build';
8787
config.addEntry('main', './main');
8888
// pretend we're installed to a subdirectory
8989
config.setPublicPath('/subdirectory/build');

0 commit comments

Comments
 (0)