mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 01:40:29 +01:00
Typo: missing "common." prefix for one "port" ref (#86)
This commit is contained in:
parent
65d7d17ea2
commit
3cad7ad605
2
rtl.js
2
rtl.js
@ -8,7 +8,7 @@ const onError = error => {
|
||||
if (error.syscall !== "listen") {
|
||||
throw error;
|
||||
}
|
||||
const bind = typeof addr === "string" ? "pipe " + addr : "port " + port;
|
||||
const bind = typeof addr === "string" ? "pipe " + addr : "port " + common.port;
|
||||
switch (error.code) {
|
||||
case "EACCES":
|
||||
console.error(bind + " requires elevated privileges");
|
||||
|
Loading…
Reference in New Issue
Block a user