Typo: missing "common." prefix for one "port" ref (#86)

pull/98/head
Dan Janosik 5 years ago committed by ShahanaFarooqui
parent 65d7d17ea2
commit 3cad7ad605

@ -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…
Cancel
Save