From 5cde892d9ed95fa7ddb8f52bfbd40e34294b1f28 Mon Sep 17 00:00:00 2001 From: Nogic <24802730+nogic1008@users.noreply.github.com> Date: Fri, 12 May 2023 00:23:52 +0000 Subject: [PATCH] build: rebuild dist --- dist/cache-save/index.js | 2 +- dist/setup/index.js | 2 +- src/cache-utils.ts | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dist/cache-save/index.js b/dist/cache-save/index.js index 323e759..6f80242 100644 --- a/dist/cache-save/index.js +++ b/dist/cache-save/index.js @@ -58634,7 +58634,7 @@ const constants_1 = __nccwpck_require__(9042); * ``` */ const getNuGetFolderPath = () => __awaiter(void 0, void 0, void 0, function* () { - const { stdout, stderr, exitCode } = yield exec.getExecOutput(constants_1.cliCommand, undefined, { ignoreReturnCode: true }); + const { stdout, stderr, exitCode } = yield exec.getExecOutput(constants_1.cliCommand, undefined, { ignoreReturnCode: true, silent: true }); if (exitCode) { throw new Error(!stderr.trim() ? `The '${constants_1.cliCommand}' command failed with exit code: ${exitCode}` diff --git a/dist/setup/index.js b/dist/setup/index.js index 582dc44..4190e59 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -71056,7 +71056,7 @@ const constants_1 = __nccwpck_require__(9042); * ``` */ const getNuGetFolderPath = () => __awaiter(void 0, void 0, void 0, function* () { - const { stdout, stderr, exitCode } = yield exec.getExecOutput(constants_1.cliCommand, undefined, { ignoreReturnCode: true }); + const { stdout, stderr, exitCode } = yield exec.getExecOutput(constants_1.cliCommand, undefined, { ignoreReturnCode: true, silent: true }); if (exitCode) { throw new Error(!stderr.trim() ? `The '${constants_1.cliCommand}' command failed with exit code: ${exitCode}` diff --git a/src/cache-utils.ts b/src/cache-utils.ts index 5eb54ee..4385da2 100644 --- a/src/cache-utils.ts +++ b/src/cache-utils.ts @@ -39,9 +39,7 @@ export const getNuGetFolderPath = async () => { const {stdout, stderr, exitCode} = await exec.getExecOutput( cliCommand, undefined, - { ignoreReturnCode: true, - silent: true - } + {ignoreReturnCode: true, silent: true} ); if (exitCode) {