Skip to content

Commit

Permalink
Ignora linhas vazias
Browse files Browse the repository at this point in the history
  • Loading branch information
Phenome authored May 14, 2024
1 parent 90926f3 commit f8ad234
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ocorrencia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ await Promise.all([
])

for (const { repositorio, kingdom, tag, url } of iptSources) {
if (!repositorio || !tag) continue;
console.debug(`Processing ${repositorio}:${tag}\n${url}eml.do?r=${tag}`)
const eml = await getEml(`${url}eml.do?r=${tag}`).catch((error) => {
console.log('Erro baixando/processando eml', error.message)
Expand Down

0 comments on commit f8ad234

Please sign in to comment.