From 2934810f3d9efda4e4160f9466db257d4d8e8ff5 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Fri, 4 Feb 2022 11:33:49 +0300 Subject: [PATCH] format and rebuild --- dist/setup/index.js | 6 +++++- src/cache-distributions/pip-cache.ts | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index e0cb9e7b..24085164 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -34486,7 +34486,11 @@ class PipCache extends cache_distributor_1.default { ({ stdout: stdout, stderr: stderr } = yield execPromisify('pip cache dir')); } else { - ({ stdout: stdout, stderr: stderr, exitCode: exitCode } = yield exec.getExecOutput('pip cache dir')); + ({ + stdout: stdout, + stderr: stderr, + exitCode: exitCode + } = yield exec.getExecOutput('pip cache dir')); } if (exitCode && stderr) { throw new Error(`Could not get cache folder path for pip package manager`); diff --git a/src/cache-distributions/pip-cache.ts b/src/cache-distributions/pip-cache.ts index 44cfeeec..78ab1ebe 100644 --- a/src/cache-distributions/pip-cache.ts +++ b/src/cache-distributions/pip-cache.ts @@ -28,7 +28,11 @@ class PipCache extends CacheDistributor { const execPromisify = utils.promisify(child_process.exec); ({stdout: stdout, stderr: stderr} = await execPromisify('pip cache dir')); } else { - ({stdout: stdout, stderr: stderr, exitCode: exitCode} = await exec.getExecOutput('pip cache dir')); + ({ + stdout: stdout, + stderr: stderr, + exitCode: exitCode + } = await exec.getExecOutput('pip cache dir')); } if (exitCode && stderr) {