Bulk Data Client
    Preparing search index...

    Function normalizeDestination

    • Normalizes the user destination option. If disabled ("none") or not provided, the result will be the empty string. If local (even if file://), the result will be a resolved absolute path.

      • If the local location does not exist or is not a dir, an assert is thrown. If a non-file URL, the destination will be returned as-is.

      Parameters

      • originalDestination: string | undefined

        The user-provided destination option

      Returns string

      The normalized destination