Repository navigation
feat: adicionar segundo dia do Carnaval (rebase #677) - #873
Merged
Merged
Conversation
Co-authored-by: Hermes Agent <[email protected]> Ai-tool: hermes Ai-model: deepseek-v4-flash Ai-os: wsl
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
lucianopf
force-pushed
the
rebase/677-carnaval
branch
from
August 9, 2026 13:25
2d82cb0 to
09a92b6
Compare
O merge do conflito voltou o helper para a versão da main (1 carnaval, sem o 2º dia) — o serviço real retorna 2 dias e o teste deep-equal falhava. Restaurado o array de datas com weekday em cada dia. Co-authored-by: Hermes Agent <[email protected]> Ai-tool: hermes Ai-model: deepseek-v4-flash Ai-os: wsl
lucianopf
force-pushed
the
rebase/677-carnaval
branch
from
August 9, 2026 13:26
09a92b6 to
b4da10c
Compare
O push do 2º carnaval (segunda, -46) não tinha weekday — o teste [CICLO 3] e o deep-equal com o helper falhavam. Co-authored-by: Hermes Agent <[email protected]> Ai-tool: hermes Ai-model: deepseek-v4-flash Ai-os: wsl
|
lucianopf
added a commit
that referenced
this pull request
Aug 10, 2026
* fix: corrige erros de lint introduzidos pelos rebases (#861 #865 #873 #874) - eleicoes/candidaturas: consistent-return — re-throw do erro não-404 (antes o erro era engolido e a função retornava undefined) - holidays: prefer-template - ibge/gov: import sem extensão, === e radix no parseInt - universities: função movida antes do uso (no-use-before-define) e full_name destructured como fullName (camelcase) Esses erros quebram o lint do build (deploys falhando na Vercel). Co-authored-by: Hermes Agent <[email protected]> Ai-tool: hermes Ai-model: deepseek-v4-flash Ai-os: wsl * fix: align prettier endOfLine with editorconfig (lf) and fix lint in rebased pages - .prettierrc: endOfLine crlf -> lf (matches .editorconfig; crlf entered main via #863 rebase and broke EVERY deploy since 08-09 with 'Insert ␍' on every line) - pages/api/diasuteis: convert CRLF blob to LF - pages/api/ibge/cnae/v1/classes: single quotes - pages/api/universities/v1/*: prettier formatting (from #861 rebase) - services/universities.js: prettier formatting --------- Co-authored-by: Hermes Agent <[email protected]>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Rebase do PR original (#677, fork MatheusPrudente) na main atual.
Adiciona a segunda-feira de Carnaval como feriado nacional (a main já tinha a terça). Conflito resolvido no cálculo: agora os dois dias são retornados (segunda + terça).
Também ajusta o helper de testes para suportar múltiplos dias de carnaval (array) e a contagem de feriados (12 → 13).