From 928eb4967dfa8b082bf8a3bf32c020e40be8725e Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Thu, 13 Apr 2023 12:30:59 +0200 Subject: [PATCH] format & resolve conflicts --- dist/cache-save/index.js | 4 ---- dist/setup/index.js | 4 ---- src/cache-utils.ts | 1 - 3 files changed, 9 deletions(-) diff --git a/dist/cache-save/index.js b/dist/cache-save/index.js index 5107d00b..fc0242b1 100644 --- a/dist/cache-save/index.js +++ b/dist/cache-save/index.js @@ -59283,10 +59283,6 @@ const getCommandOutput = (toolCommand, cwd) => __awaiter(void 0, void 0, void 0, }); exports.getCommandOutput = getCommandOutput; const getPackageManagerWorkingDir = () => { - const projectDir = core.getInput('project-dir'); - if (projectDir) { - return projectDir; - } const cache = core.getInput('cache'); if (cache !== 'yarn') { return null; diff --git a/dist/setup/index.js b/dist/setup/index.js index 75b32a48..9b7276e3 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -71251,10 +71251,6 @@ const getCommandOutput = (toolCommand, cwd) => __awaiter(void 0, void 0, void 0, }); exports.getCommandOutput = getCommandOutput; const getPackageManagerWorkingDir = () => { - const projectDir = core.getInput('project-dir'); - if (projectDir) { - return projectDir; - } const cache = core.getInput('cache'); if (cache !== 'yarn') { return null; diff --git a/src/cache-utils.ts b/src/cache-utils.ts index 38ea11e5..afc19d65 100644 --- a/src/cache-utils.ts +++ b/src/cache-utils.ts @@ -52,7 +52,6 @@ export const getCommandOutput = async ( }; export const getPackageManagerWorkingDir = (): string | null => { - const cache = core.getInput('cache'); if (cache !== 'yarn') { return null;