Skip to content

Commit

Permalink
Corrige message inopiné pour les liens invalides
Browse files Browse the repository at this point in the history
Fix #140
  • Loading branch information
mquandalle committed Feb 26, 2022
1 parent 1ad84a3 commit f1b10a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/check-links-validity.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function sleep(ms) {

(async () => {
await Promise.allSettled(Array.from({ length: simultaneousItems }).map(processNextQueueItem));
if (detectedErrors) {
if (detectedErrors.length > 0) {
// Formattage spécifique pour récupérer le résultat avec l'action Github
if (process.argv.slice(2).includes('--ci')) {
const message = `
Expand Down

0 comments on commit f1b10a4

Please sign in to comment.