Skip to content

Commit 1e93c32

Browse files
committed
More details in error message for test failures...
1 parent 5680651 commit 1e93c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config/validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Validator {
7070
if (outputPath.indexOf(publicPath) === -1) {
7171
const suggestion = publicPath.substr(publicPath.lastIndexOf('/') + 1) + '/';
7272

73-
throw new Error(`Cannot determine how to prefix the keys in manifest.json. Call Encore.setManifestKeyPrefix() to choose what path (e.g. ${suggestion}) to use when building your manifest keys. This is caused by setOutputPath() and setPublicPath() containing paths that don't seem compatible.`);
73+
throw new Error(`Cannot determine how to prefix the keys in manifest.json. Call Encore.setManifestKeyPrefix() to choose what path (e.g. ${suggestion}) to use when building your manifest keys. This is caused by setOutputPath() (${outputPath}) and setPublicPath() (${publicPath}) containing paths that don't seem compatible.`);
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)