Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 868280c

Browse files
committed
eslint
1 parent e131edb commit 868280c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/scripts/redirects.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ async function readNotionMigrationRedirects() {
4242
// To go around that, we add a new field 'force' that the script that
4343
// generate the final _redirects file used by Netlify uses to append
4444
// 301! on that entry, effectively forcing the redirection.
45-
for ( let entry of data.redirections ) {
46-
entry["force"] = true
45+
for ( const entry of data.redirections ) {
46+
entry.force = true
4747
}
4848
return data
4949
}

0 commit comments

Comments
 (0)