()
| 20664 | function rejected(value) { |
| 20665 | try { |
| 20666 | step(generator["throw"](value)); |
| 20667 | } catch (e) { |
| 20668 | reject(e); |
| 20669 | } |
| 20670 | } |
| 20671 | function step(result) { |
| 20672 | result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected); |
| 20673 | } |
| 20674 | step((generator = generator.apply(thisArg, _arguments || [])).next()); |
| 20675 | }); |
| 20676 | }; |
| 20677 | var getWindowsInfo = () => __awaiter6(void 0, void 0, void 0, function* () { |
| 20678 | const { stdout: version } = yield getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"', void 0, { |
| 20679 | silent: true |
| 20680 | }); |
| 20681 | const { stdout: name } = yield getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"', void 0, { |
no test coverage detected