From 7c21a932d4caeeaaf1d3e60c5c2e06bdaa4224aa Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 16 Oct 2018 20:38:00 +0700 Subject: [PATCH] Add missing `await` Fixes #56 --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 514b2a0..9b1b78a 100755 --- a/cli.js +++ b/cli.js @@ -122,7 +122,7 @@ const listProcesses = async (processes, flags) => { }]); try { - fkill(answer.processes); + await fkill(answer.processes); } catch (_) { handleFkillError(answer.processes); }