Updates
This commit is contained in:
Vendored
+2
-2
@@ -31,11 +31,11 @@ function killChild(childProcess, port) {
|
||||
if (typeof port == "object" && (port === null || port === void 0 ? void 0 : port[0])) {
|
||||
for (let i = 0; i < port.length; i++) {
|
||||
const singlePort = port[i];
|
||||
yield (0, kill_port_1.default)(Number(singlePort));
|
||||
yield (0, kill_port_1.default)(Number(singlePort), "tcp");
|
||||
}
|
||||
}
|
||||
else if (port) {
|
||||
yield (0, kill_port_1.default)(Number(port));
|
||||
yield (0, kill_port_1.default)(Number(port), "tcp");
|
||||
}
|
||||
}
|
||||
catch (error) { }
|
||||
|
||||
Reference in New Issue
Block a user