Skip to content

Commit a30b10a

Browse files
committed
nit: remove any type cast
1 parent 746fb79 commit a30b10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/lambda/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export async function getFunctionInfo<K extends keyof FunctionInfo>(lambda: Lamb
179179
getLogger().debug('Data returned from getFunctionInfo for %s: %O', lambda.name, data)
180180
return field ? data[field] : data
181181
} catch {
182-
return field ? undefined : ({} as any)
182+
return field ? undefined : {}
183183
}
184184
}
185185

0 commit comments

Comments
 (0)