-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Remove redundant semicolons after onScriptComplete function #16346
Copy link
Copy link
Closed
Description
Bug report
Remove redundant semicolons after onScriptComplete function.
What is the current behavior?
/******/ var onScriptComplete = function(prev, event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var doneFns = inProgress[url];
/******/ delete inProgress[url];
/******/ script.parentNode && script.parentNode.removeChild(script);
/******/ doneFns && doneFns.forEach(function(fn) { return fn(event); });
/******/ if(prev) return prev(event);
/******/ }
/******/ ;
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
If the current behavior is a bug, please provide the steps to reproduce.
The semicolon is redundant because there is a newline in front.
What is the expected behavior?
The redundant semicolons should be removed.
Other relevant information:
webpack version: 5.74.0
Node.js version: v18.9.0
Operating System: macos
Additional tools:
Reactions are currently unavailable