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

Function getLinuxInfo

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

Source from the content-addressed store, hash-verified

20617 };
20618 });
20619 var getLinuxInfo = () => __awaiter6(void 0, void 0, void 0, function* () {
20620 const { stdout } = yield getExecOutput("lsb_release", ["-i", "-r", "-s"], {
20621 silent: true
20622 });
20623 const [name, version] = stdout.trim().split("\n");
20624 return {
20625 name,
20626 version
20627 };
20628 });
20629 var platform = import_os2.default.platform();
20630 var arch = import_os2.default.arch();
20631 var isWindows = platform === "win32";

Callers 1

getDetailsFunction · 0.70

Calls 2

__awaiter6Function · 0.70
getExecOutputFunction · 0.70

Tested by

no test coverage detected