We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841fe5c commit f4b0d22Copy full SHA for f4b0d22
test/helpers/readAsset.js
@@ -10,7 +10,7 @@ export default (asset, compiler, stats) => {
10
const queryStringIdx = targetFile.indexOf("?");
11
12
if (queryStringIdx >= 0) {
13
- targetFile = targetFile.substr(0, queryStringIdx);
+ targetFile = targetFile.slice(0, queryStringIdx);
14
}
15
16
try {
0 commit comments