Skip to content

Commit

Permalink
(fix) after fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bingtimren committed Jun 8, 2021
1 parent c9fe62f commit f2c02cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion src/lib/promise-output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ export function promiseOutputPattern(
process.kill();
}
solved = true;
reject(new Error(`Timeout: pattern ${pattern.toString()} not found in output from process (pid=${process.pid})`));
reject(
new Error(
`Timeout: pattern ${pattern.toString()} not found in output from process (pid=${
process.pid
})`
)
);
}
}, options.timeoutInMs);
}
Expand Down

0 comments on commit f2c02cd

Please sign in to comment.