melhorias em contagem de linhas
This commit is contained in:
parent
b482fcd6c3
commit
72c4c2e90b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# comando sh ../.agent/base/verificar-linhas.sh || exit 1
|
||||
# comando sh ../.agent/verificar-linhas.sh || exit 1
|
||||
|
||||
LIMITE=250
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ if [ -n "$RESULTADO" ]; then
|
|||
echo "$RESULTADO"
|
||||
VIOLACOES=$(printf '%s\n' "$RESULTADO" | wc -l | tr -d ' ')
|
||||
printf "\n❌ %s arquivo(s) violam o limite de %s linhas.\n" "$VIOLACOES" "$LIMITE"
|
||||
printf "\n Resolva usando o arquivo: .agent/global/workflows/otimizar-codigos\n"
|
||||
printf "\n Resolva usando ag-refatorar"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue