We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4d3859 commit 18d9551Copy full SHA for 18d9551
1 file changed
src/utils/alerts-map.mts
@@ -85,8 +85,8 @@ export async function getAlertsMapFromPurls(
85
}
86
const sockSdk = sockSdkCResult.data
87
const socketYmlResult = findSocketYmlSync()
88
- const socketYml = socketYmlResult.ok
89
- ? (socketYmlResult.data as FoundSocketYml).parsed
+ const socketYml = socketYmlResult.ok && socketYmlResult.data
+ ? socketYmlResult.data.parsed
90
: undefined
91
92
const alertsMapOptions = {
0 commit comments