Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit a60bce7

Browse files
committed
Fix log message.
It's meant to be displayed in terminal, not webconsole, so let's strip the custom style.
1 parent 8ac9fe1 commit a60bce7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/devtools-launchpad/bin/firefox-proxy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const ws = require("ws");
1111
const net = require("net");
1212

1313
function proxy(host, webSocketPort, tcpPort, logging) {
14-
console.log(`Listening for WS on localhost:${webSocketPort}, all traffic is proxied to ${host}:${tcpPort}`);
14+
console.log(`Listening for WS on localhost:${webSocketPort}, all traffic is proxied ` +
15+
`to ${host}:${tcpPort}`);
1516
if (!logging) {
16-
const style = "background-color:#F9F9FA; color:#E135B2;"
17-
console.log("Protocol messages can be logged by enabling %clogging.firefoxProxy%c " +
18-
"in %c/configs/local.json", style, "", style);
17+
console.log("Protocol messages can be logged by enabling `logging.firefoxProxy` " +
18+
"`in /configs/local.json`");
1919
}
2020
let wsServer = new ws.Server({ port: webSocketPort });
2121
wsServer.on("connection", function onConnection(wsConnection) {

0 commit comments

Comments
 (0)