We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b956763 commit 70e695eCopy full SHA for 70e695e
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