Skip to content

Commit 486ffb8

Browse files
authored
removed replace call
1 parent 5b236b9 commit 486ffb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AsyncDependenciesBlock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = class AsyncDependenciesBlock extends DependenciesBlock {
2323
hash.update(this.chunkName || "");
2424
hash.update(this.chunks && this.chunks.map((chunk) => {
2525
return typeof chunk.id === "number" ? chunk.id : "";
26-
}).join(",").replace(/,\s*$/, "") || "");
26+
}).join(",") || "");
2727
super.updateHash(hash);
2828
}
2929
disconnect() {

0 commit comments

Comments
 (0)