Skip to content

Commit

Permalink
Add missing await
Browse files Browse the repository at this point in the history
Fixes #56
  • Loading branch information
sindresorhus committed Oct 16, 2018
1 parent 3550899 commit 7c21a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const listProcesses = async (processes, flags) => {
}]);

try {
fkill(answer.processes);
await fkill(answer.processes);
} catch (_) {
handleFkillError(answer.processes);
}
Expand Down

0 comments on commit 7c21a93

Please sign in to comment.