Fix loop
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Michel Roux 2021-06-12 00:17:08 +02:00
parent 2795609ec9
commit 0de7cdda57

View File

@ -28,8 +28,8 @@ const metadata = (volume) => ({
description: "L'histoire d'une fille, d'une auberge et d'un monde plein de niveaux",
})
for (let i = 0; i <= MAX_VOLUME; i++) {
books.push(metadata(i + 1))
for (let i = 1; i <= MAX_VOLUME; i++) {
books.push(metadata(i))
}
(async () => {