backblaze-labs/b2-action - v0.1.0
    Preparing search index...

    Function requireSource

    • Validate that inputs.source is set and non-empty, returning the value. Throws a uniform error message naming the verb so the workflow log surfaces exactly what's missing. Commands that allow an empty-string source for special semantics (e.g. purge with explicit whole-bucket scope) should not use this helper.

      Parameters

      • source: string | undefined
      • verb: string
      • Optionaldescription: string

      Returns string