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 e7f71678..38be1730 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;