website: fix typescript warnings when running astro check
see https://github.com/withastro/astro/issues/10174#issuecomment-2026297879 for the why the tsconfig.json change
This commit is contained in:
@@ -21,7 +21,7 @@ async function resizeSourceBackgrounds() {
|
||||
.toBuffer()
|
||||
|
||||
const backgrounds = await readdir(sourcesDir)
|
||||
backgrounds.forEach((backgroundFile, i) => {
|
||||
backgrounds.forEach((backgroundFile) => {
|
||||
const srcPath = path.join(sourcesDir, backgroundFile)
|
||||
const backgroundName = path.parse(backgroundFile).name
|
||||
const jpegPath = path.join(outputDir, `${backgroundName}.jpg`)
|
||||
|
||||
Reference in New Issue
Block a user