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

This commit is contained in:
Dan Janosik 2019-03-18 19:41:36 -04:00 committed by ShahanaFarooqui
parent 65d7d17ea2
commit 3cad7ad605

2
rtl.js
View File

@ -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");