From 65afb7fd5d4e43492125bdd1a633039c0d289821 Mon Sep 17 00:00:00 2001 From: David Majda Date: Tue, 4 Oct 2016 20:05:10 +0200 Subject: [PATCH] Remove unnecessary parens around arrow function parameters --- bin/pegjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pegjs b/bin/pegjs index 5c7d189..e75de42 100755 --- a/bin/pegjs +++ b/bin/pegjs @@ -96,7 +96,7 @@ function nextArg() { function readStream(inputStream, callback) { let input = ""; - inputStream.on("data", (data) => { input += data; }); + inputStream.on("data", data => { input += data; }); inputStream.on("end", () => { callback(input); }); } @@ -306,7 +306,7 @@ if (outputFile === "-") { }); } -readStream(inputStream, (input) => { +readStream(inputStream, input => { let source; try {