MCPcopy Create free account
hub / github.com/angular/dev-infra / getMacOsInfo

Function getMacOsInfo

github-actions/browserstack/set-browserstack-env.js:20607–20618  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20605 return __awaiter5(this, void 0, void 0, function* () {
20606 const commandArgs = argStringToArray(commandLine);
20607 if (commandArgs.length === 0) {
20608 throw new Error(`Parameter 'commandLine' cannot be null or empty.`);
20609 }
20610 const toolPath = commandArgs[0];
20611 args = commandArgs.slice(1).concat(args || []);
20612 const runner = new ToolRunner(toolPath, args, options);
20613 return runner.exec();
20614 });
20615 }
20616 function getExecOutput(commandLine, args, options) {
20617 return __awaiter5(this, void 0, void 0, function* () {
20618 var _a, _b;
20619 let stdout = "";
20620 let stderr = "";
20621 const stdoutDecoder = new import_string_decoder.StringDecoder("utf8");

Callers 1

getDetailsFunction · 0.70

Calls 3

__awaiter6Function · 0.70
getExecOutputFunction · 0.70
matchMethod · 0.45

Tested by

no test coverage detected