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

Function getLinuxInfo

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

Source from the content-addressed store, hash-verified

20617 reverse += arg[i - 1];
20618 if (quoteHit && arg[i - 1] === "\\") {
20619 reverse += "\\";
20620 } else if (arg[i - 1] === '"') {
20621 quoteHit = true;
20622 reverse += '"';
20623 } else {
20624 quoteHit = false;
20625 }
20626 }
20627 reverse += '"';
20628 return reverse.split("").reverse().join("");
20629 }
20630 _uvQuoteCmdArg(arg) {
20631 if (!arg) {

Callers 1

getDetailsFunction · 0.70

Calls 2

__awaiter6Function · 0.70
getExecOutputFunction · 0.70

Tested by

no test coverage detected