From 868280c0975d01ea43d04e340abe37b80c577188 Mon Sep 17 00:00:00 2001 From: Jean-Hadrien Chabran Date: Thu, 20 Jun 2024 13:38:59 +0200 Subject: [PATCH] eslint --- src/scripts/redirects.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/redirects.mjs b/src/scripts/redirects.mjs index abc5069c4ebf..26ec59f835a1 100644 --- a/src/scripts/redirects.mjs +++ b/src/scripts/redirects.mjs @@ -42,8 +42,8 @@ async function readNotionMigrationRedirects() { // To go around that, we add a new field 'force' that the script that // generate the final _redirects file used by Netlify uses to append // 301! on that entry, effectively forcing the redirection. - for ( let entry of data.redirections ) { - entry["force"] = true + for ( const entry of data.redirections ) { + entry.force = true } return data }