parseRepositoryHeader
parseRepositoryHeader(
raw):object
Defined in: packages/simply-cicd-core/src/build/aerPackage.ts:136
Split a Name: value header, e.g. Authorization: Bearer abc, into its two parts.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”object
name:
string
value:
string
Throws
Section titled “Throws”If there’s no colon, the name isn’t a valid header name, or the value is empty. The message never includes the value, which is usually a secret.