Skip to content

Commit 87764b5

Browse files
fix return value
1 parent bd3feac commit 87764b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/cleanup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47762,7 +47762,7 @@ const getCmdCommand = (toolName, version) => {
4776247762
if (toolName === 'yarn') {
4776347763
cmdCommand = `${toolName}${version}`;
4776447764
}
47765-
return toolName;
47765+
return cmdCommand;
4776647766
};
4776747767
exports.isToolSupported = toolName => {
4776847768
const arr = Array.of(...Object.values(constants_1.LockType));

dist/setup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64354,7 +64354,7 @@ const getCmdCommand = (toolName, version) => {
6435464354
if (toolName === 'yarn') {
6435564355
cmdCommand = `${toolName}${version}`;
6435664356
}
64357-
return toolName;
64357+
return cmdCommand;
6435864358
};
6435964359
exports.isToolSupported = toolName => {
6436064360
const arr = Array.of(...Object.values(constants_1.LockType));

src/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const getCmdCommand = (toolName: string, version: string) => {
5252
cmdCommand = `${toolName}${version}`;
5353
}
5454

55-
return toolName;
55+
return cmdCommand;
5656
};
5757

5858
export const isToolSupported = toolName => {

0 commit comments

Comments
 (0)