fix(scripts): resolve lint and typecheck errors in utility scripts
All checks were successful
ci/woodpecker/push/web Pipeline was successful
All checks were successful
ci/woodpecker/push/web Pipeline was successful
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,7 @@ async function main() {
|
||||
if (ids['hero']) {
|
||||
console.log('\n── Updating Home hero image ─────────────────────────────')
|
||||
const home = await payload.findGlobal({ slug: 'home', depth: 0 })
|
||||
const heroData = (home as Record<string, unknown>).hero as Record<string, unknown> | undefined
|
||||
const heroData = (home as unknown as Record<string, unknown>).hero as Record<string, unknown> | undefined
|
||||
await payload.updateGlobal({
|
||||
slug: 'home',
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user