"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = cmdSerializer;
// istanbul ignore next
function cmdSerializer(cmd) {
    if (typeof cmd === 'string') {
        return cmd.replace(/https:\/\/[^@]*@/g, 'https://**redacted**@'); // TODO #12874
    }
    return cmd;
}
//# sourceMappingURL=cmd-serializer.js.map