Function showNotificationsIfNeeded
- showNotificationsIfNeeded(
currentSurfaces?: string[],
environment?: ProcessEnv,
): Promise<void> Parameters
Optional
currentSurfaces: string[]- environment: ProcessEnv = process.env
Returns Promise<void>
- A promise that resolves when the notifications have been shown.
Shows notifications to the user if they meet the criteria specified in the notifications.json file.