format and rebuild

This commit is contained in:
Dmitry Shibanov 2022-02-04 11:33:49 +03:00
parent c49ecc1361
commit 2934810f3d
2 changed files with 10 additions and 2 deletions

6
dist/setup/index.js vendored
View file

@ -34486,7 +34486,11 @@ class PipCache extends cache_distributor_1.default {
({ stdout: stdout, stderr: stderr } = yield execPromisify('pip cache dir')); ({ stdout: stdout, stderr: stderr } = yield execPromisify('pip cache dir'));
} }
else { 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) { if (exitCode && stderr) {
throw new Error(`Could not get cache folder path for pip package manager`); throw new Error(`Could not get cache folder path for pip package manager`);

View file

@ -28,7 +28,11 @@ class PipCache extends CacheDistributor {
const execPromisify = utils.promisify(child_process.exec); const execPromisify = utils.promisify(child_process.exec);
({stdout: stdout, stderr: stderr} = await execPromisify('pip cache dir')); ({stdout: stdout, stderr: stderr} = await execPromisify('pip cache dir'));
} else { } 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) { if (exitCode && stderr) {