Skip to content

Commit

Permalink
chore(index): remove redundant async keywords (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Mar 20, 2023
1 parent 2c3efd9 commit d4e0ac0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Expand Up @@ -190,15 +190,15 @@ class UnRTF {
let stdOut = "";
let stdErr = "";

child.stdout.on("data", async (data) => {
child.stdout.on("data", (data) => {
stdOut += data;
});

child.stderr.on("data", async (data) => {
child.stderr.on("data", (data) => {
stdErr += data;
});

child.on("close", async () => {
child.on("close", () => {
/* istanbul ignore else */
if (stdOut !== "") {
resolve(stdOut.trim());
Expand Down

0 comments on commit d4e0ac0

Please sign in to comment.