mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2026-08-28 21:14:58 -04:00
Change code according to review points
This commit is contained in:
parent
fc2e404438
commit
86d1cd689b
5 changed files with 442 additions and 46 deletions
|
|
@ -24,8 +24,9 @@ export const getPackageManagerInfo = async (packageManager: string) => {
|
|||
`It's not possible to use ${packageManager}, please, check correctness of the package manager name spelling.`
|
||||
);
|
||||
}
|
||||
const obtainedPackageManager = supportedPackageManagers[packageManager]
|
||||
|
||||
return supportedPackageManagers[packageManager];
|
||||
return obtainedPackageManager;
|
||||
};
|
||||
|
||||
export const getCacheDirectoryPath = async (
|
||||
|
|
|
|||
Loading…
Reference in a new issue