@shopify/cli-kit
    Preparing search index...

    Function showNotificationsIfNeeded

    • Shows notifications to the user if they meet the criteria specified in the notifications.json file.

      Parameters

      • OptionalcurrentSurfaces: string[]

        The surfaces present in the current project (usually for app extensions).

      • environment: ProcessEnv = process.env

        Process environment variables.

      Returns Promise<void>

      • A promise that resolves when the notifications have been shown.