Skip to content

Commit

Permalink
fix: corrige estrutura input
Browse files Browse the repository at this point in the history
  • Loading branch information
katiacih committed Aug 4, 2023
1 parent 2cf689f commit 3f89d52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9788,12 +9788,6 @@ function writeReportKtlint(report) {
console.table(element.errors)
})

if(report.length > 0 && report[0].length > 0) {
report.forEach((element) => {
console.log(`❌ [erro] Arquivo: ${element.file}`)
console.table(element.errors)
})
}
// Trecho força quebra da action quando há erros reportados.
core.setFailed('❌ Erros encontrados')
}
Expand Down
6 changes: 0 additions & 6 deletions src/controller/writeOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ function writeReportKtlint(report) {
console.table(element.errors)
})

if(report.length > 0 && report[0].length > 0) {
report.forEach((element) => {
console.log(`❌ [erro] Arquivo: ${element.file}`)
console.table(element.errors)
})
}
// Trecho força quebra da action quando há erros reportados.
core.setFailed('❌ Erros encontrados')
}
Expand Down

0 comments on commit 3f89d52

Please sign in to comment.