@maschinenlesbar.org/bundesrat-cli
    Preparing search index...

    Function redactCredentials

    • text with every occurrence of each credential (as credentialsIn returns them) that is followed by @ replaced by ***. Matching the exact strings, not a pattern, covers passwords with spaces, quotes, #, ? or / that no URL pattern can delimit. The CLI also passes the escaped forms of each credential, as its messages escape values.

      Parameters

      • text: string
      • credentials: readonly string[]

      Returns string