src/parser/netcat.js in prettier-1.5.3 vs src/parser/netcat.js in prettier-1.5.4
- old
+ new
@@ -3,13 +3,11 @@
// spawning a new Ruby process.
const { createConnection } = require("net");
const sock = process.argv[process.argv.length - 1];
-
const client = createConnection(sock, () => process.stdin.pipe(client));
client.on("data", (data) => process.stdout.write(data));
-
client.on("error", (error) => {
console.error(error);
});