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 {