diff --git a/dist/index.js/index.js b/dist/index.js/index.js index bc8c4ed..8fbe84a 100644 --- a/dist/index.js/index.js +++ b/dist/index.js/index.js @@ -9745,7 +9745,7 @@ function writeReport(report) { console.log('Verifique os erros abaixo:') if(report.length > 0 && report[0].file.length > 0) { report[0].file.forEach((element) => { - console.log(`Arquivo: ${element.name}`) + core.setFailed(`\u001b[38;5;6m ❌ [erro] Arquivo: ${element.name}`) console.table(element.error) }) } diff --git a/src/controller/writeOutput.js b/src/controller/writeOutput.js index ca4b836..65ca360 100644 --- a/src/controller/writeOutput.js +++ b/src/controller/writeOutput.js @@ -15,7 +15,7 @@ function writeReport(report) { console.log('Verifique os erros abaixo:') if(report.length > 0 && report[0].file.length > 0) { report[0].file.forEach((element) => { - console.log(`Arquivo: ${element.name}`) + core.setFailed(`\u001b[38;5;6m ❌ [erro] Arquivo: ${element.name}`) console.table(element.error) }) }