From 31e7eedc23f5cd4305ce93516a78ff33eaa1cb23 Mon Sep 17 00:00:00 2001 From: iTrooz_ Date: Wed, 12 Oct 2022 21:57:46 +0200 Subject: [PATCH] Silent execution of getExecBashOutput (#105) * silent command execution --- dist/save/index.js | 2 +- src/save.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/save/index.js b/dist/save/index.js index 561158cb..5ccd3b2e 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -59496,7 +59496,7 @@ async function getVerbosity(verbositySetting) { } } function getExecBashOutput(cmd) { - return _actions_exec__WEBPACK_IMPORTED_MODULE_2__.getExecOutput("bash", ["-xc", cmd]); + return _actions_exec__WEBPACK_IMPORTED_MODULE_2__.getExecOutput("bash", ["-xc", cmd], { silent: true }); } async function run() { try { diff --git a/src/save.ts b/src/save.ts index 30e62214..9c7ae9d5 100644 --- a/src/save.ts +++ b/src/save.ts @@ -32,7 +32,7 @@ async function getVerbosity(verbositySetting : string) : Promise { } function getExecBashOutput(cmd : string) : Promise { - return exec.getExecOutput("bash", ["-xc", cmd]); + return exec.getExecOutput("bash", ["-xc", cmd], {silent: true}); } async function run() : Promise {