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

    Function findPathUp

    • Find a file by walking parent directories.

      Parameters

      • matcher: string | readonly string[] | ((directory: string) => Match | Promise<Match>)

        A pattern or an array of patterns to match a file name.

      • options: Options | undefined

        Options for the search.

      Returns Promise<string | undefined>

      The first path found that matches or undefined if none could be found.