Skip to content

Commit

Permalink
feat: Disable command traces
Browse files Browse the repository at this point in the history
  • Loading branch information
jetexe committed Oct 7, 2024
1 parent 3a3de77 commit 2382008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ async function runCommands(commands, shell) {
return (async () => {
for (const command of commands) {
if (command && command.trim() !== '') {
core.debug(`input: ${JSON.stringify(input)}`)

// make this behavior default in the next major version
if (!input.disableCommandTrace) {
core.info(`\x1b[1m$ ${command}\x1b[0m`)
Expand Down

0 comments on commit 2382008

Please sign in to comment.