Skip to content

Commit

Permalink
refactor: adiciona v1
Browse files Browse the repository at this point in the history
  • Loading branch information
katiacih committed Aug 1, 2023
1 parent a500a2e commit f968f94
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ function runDetekt() {
const childProcess = spawn(command, { shell: true })

try {
// childProcess.stdout.on('data', (data) => {
// core.info(`\u001b[38;5;6m[info] Saída do comando: ${data}`)
// })

childProcess.stderr.on('data', (data) => {
core.setFailed(`\u001b[38;5;6m[erro] EXEC -> Erro no comando bash: ${data}`)
})
Expand Down Expand Up @@ -40,9 +36,6 @@ function runKtlint() {
const childProcess = spawn(command, { shell: true })

try {
childProcess.stdout.on('data', (data) => {
core.info(`\u001b[38;5;6m[info] Saída do comando: ${data}`)
})
childProcess.stderr.on('data', (data) => {
core.setFailed(`\u001b[38;5;6m[erro] EXEC -> Erro no comando bash: ${data}`)
})
Expand Down

0 comments on commit f968f94

Please sign in to comment.