From 507e1363641eb4e7ed08548dbf8e7b14356b8594 Mon Sep 17 00:00:00 2001 From: Nikolai Laevskii Date: Mon, 4 Sep 2023 04:24:08 +0200 Subject: [PATCH] Update build --- dist/setup/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 97ddf8491..284fea07d 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -72788,9 +72788,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.matchVersionToList = exports.listSdks = void 0; const exec = __importStar(__nccwpck_require__(1514)); 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 - }); + }) + .catch(() => ({ stdout: '', exitCode: 1 })); if (exitCode) { return []; }