Use getExecOutput instead

Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
Xuanwo
2023-01-11 11:32:20 +08:00
parent bdadfb55a2
commit be7e4cdfae
+1 -1
View File
@@ -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
});