eslint doesn't like `void 0` here
This commit is contained in:
parent
1408abf8d9
commit
2b816af9a8
|
@ -65,7 +65,7 @@ const parseResponse = function (ipc, resBody) {
|
|||
};
|
||||
|
||||
exports.serve = async function (ipc, host, port, ws, origin) {
|
||||
const _origin = origin ? origin.split(',')[0] : void 0;
|
||||
const _origin = origin ? origin.split(',')[0] : undefined;
|
||||
const start = Date.now();
|
||||
|
||||
function awaitTarget() {
|
||||
|
|
Loading…
Reference in New Issue