From be7e4cdfaeeadacaab1a25bc571e739f39c907a1 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Wed, 11 Jan 2023 11:32:20 +0800 Subject: [PATCH] Use getExecOutput instead Signed-off-by: Xuanwo --- src/show_stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/show_stats.ts b/src/show_stats.ts index 4fcc108..35e3e9f 100644 --- a/src/show_stats.ts +++ b/src/show_stats.ts @@ -26,7 +26,7 @@ async function show_stats() { const stdout: string[] = []; - await exec.exec(`${process.env.SCCACHE_PATH}`, ['--show-stats'], { + await exec.getExecOutput(`${process.env.SCCACHE_PATH}`, ['--show-stats'], { listeners: defaultListener });