Select Git revision
-
Rhys Arkins authored
Co-authored-by:
Michael Kriese <michael.kriese@visualon.de>
Rhys Arkins authoredCo-authored-by:
Michael Kriese <michael.kriese@visualon.de>
cmd-serializer.ts 210 B
// istanbul ignore next
export default function(cmd: string | string[]): string | string[] {
if (typeof cmd === 'string')
return cmd.replace(/https:\/\/[^@]*@/g, 'https://**redacted**@');
return cmd;
}