Remove unnecessary parens around arrow function parameters

redux
David Majda 8 years ago
parent 7495e6e03f
commit 65afb7fd5d

@ -96,7 +96,7 @@ function nextArg() {
function readStream(inputStream, callback) { function readStream(inputStream, callback) {
let input = ""; let input = "";
inputStream.on("data", (data) => { input += data; }); inputStream.on("data", data => { input += data; });
inputStream.on("end", () => { callback(input); }); inputStream.on("end", () => { callback(input); });
} }
@ -306,7 +306,7 @@ if (outputFile === "-") {
}); });
} }
readStream(inputStream, (input) => { readStream(inputStream, input => {
let source; let source;
try { try {

Loading…
Cancel
Save