-
Notifications
You must be signed in to change notification settings - Fork 0
removendo exit 1 do script #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -41,7 +41,6 @@ check_blocking_rules() { | |||||||||||||||||
| if [ "$p1_count" -gt 0 ]; then | ||||||||||||||||||
| echo "⛔ Foram encontradas violacoes bloqueantes (priority 1)." | ||||||||||||||||||
| echo "💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador." | ||||||||||||||||||
|
||||||||||||||||||
| echo "💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador." | |
| echo "💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador." | |
| if [ "${BYPASS_BLOQUEANTES}" != "true" ]; then | |
| echo "❌ Falha: Violacoes bloqueantes encontradas. Interrompendo o processo." | |
| exit 1 | |
| else | |
| echo "⚠️ Bypass autorizado: continuando apesar das violacoes bloqueantes." | |
| fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. SC2086
codenarc-docker/entrypoint.sh
Line 18 in 94fb83f