mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
format & resolve conflicts
This commit is contained in:
parent
3fa1d09fcc
commit
928eb4967d
3 changed files with 0 additions and 9 deletions
4
dist/cache-save/index.js
vendored
4
dist/cache-save/index.js
vendored
|
@ -59283,10 +59283,6 @@ const getCommandOutput = (toolCommand, cwd) => __awaiter(void 0, void 0, void 0,
|
||||||
});
|
});
|
||||||
exports.getCommandOutput = getCommandOutput;
|
exports.getCommandOutput = getCommandOutput;
|
||||||
const getPackageManagerWorkingDir = () => {
|
const getPackageManagerWorkingDir = () => {
|
||||||
const projectDir = core.getInput('project-dir');
|
|
||||||
if (projectDir) {
|
|
||||||
return projectDir;
|
|
||||||
}
|
|
||||||
const cache = core.getInput('cache');
|
const cache = core.getInput('cache');
|
||||||
if (cache !== 'yarn') {
|
if (cache !== 'yarn') {
|
||||||
return null;
|
return null;
|
||||||
|
|
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
|
@ -71251,10 +71251,6 @@ const getCommandOutput = (toolCommand, cwd) => __awaiter(void 0, void 0, void 0,
|
||||||
});
|
});
|
||||||
exports.getCommandOutput = getCommandOutput;
|
exports.getCommandOutput = getCommandOutput;
|
||||||
const getPackageManagerWorkingDir = () => {
|
const getPackageManagerWorkingDir = () => {
|
||||||
const projectDir = core.getInput('project-dir');
|
|
||||||
if (projectDir) {
|
|
||||||
return projectDir;
|
|
||||||
}
|
|
||||||
const cache = core.getInput('cache');
|
const cache = core.getInput('cache');
|
||||||
if (cache !== 'yarn') {
|
if (cache !== 'yarn') {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -52,7 +52,6 @@ export const getCommandOutput = async (
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getPackageManagerWorkingDir = (): string | null => {
|
export const getPackageManagerWorkingDir = (): string | null => {
|
||||||
|
|
||||||
const cache = core.getInput('cache');
|
const cache = core.getInput('cache');
|
||||||
if (cache !== 'yarn') {
|
if (cache !== 'yarn') {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue