mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-25 12:53:06 +07:00
Update build
This commit is contained in:
parent
cae98c4b9e
commit
507e136364
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
@ -72788,9 +72788,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
exports.matchVersionToList = exports.listSdks = void 0;
|
exports.matchVersionToList = exports.listSdks = void 0;
|
||||||
const exec = __importStar(__nccwpck_require__(1514));
|
const exec = __importStar(__nccwpck_require__(1514));
|
||||||
const listSdks = () => __awaiter(void 0, void 0, void 0, function* () {
|
const listSdks = () => __awaiter(void 0, void 0, void 0, function* () {
|
||||||
const { stdout, exitCode } = yield exec.getExecOutput('dotnet', ['--list-sdks'], {
|
const { stdout, exitCode } = yield exec
|
||||||
|
.getExecOutput('dotnet', ['--list-sdks'], {
|
||||||
ignoreReturnCode: true
|
ignoreReturnCode: true
|
||||||
});
|
})
|
||||||
|
.catch(() => ({ stdout: '', exitCode: 1 }));
|
||||||
if (exitCode) {
|
if (exitCode) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user