Skip to content

Commit

Permalink
Silent execution of getExecBashOutput (#105)
Browse files Browse the repository at this point in the history
* silent command execution
  • Loading branch information
iTrooz authored Oct 12, 2022
1 parent 3480624 commit 31e7eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/save/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function getVerbosity(verbositySetting : string) : Promise<string> {
}

function getExecBashOutput(cmd : string) : Promise<exec.ExecOutput> {
return exec.getExecOutput("bash", ["-xc", cmd]);
return exec.getExecOutput("bash", ["-xc", cmd], {silent: true});
}

async function run() : Promise<void> {
Expand Down

0 comments on commit 31e7eed

Please sign in to comment.