fixing pnpm output issue (#545)
This commit is contained in:
1 parent
ad8542ca5e
commit
2fddd8803e
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -18,7 +18,7 @@ export const supportedPackageManagers: SupportedPackageManagers = {
|
||||
},
|
||||
pnpm: {
|
||||
lockFilePatterns: ['pnpm-lock.yaml'],
|
||||
getCacheFolderCommand: 'pnpm store path'
|
||||
getCacheFolderCommand: 'pnpm store path --silent'
|
||||
},
|
||||
yarn1: {
|
||||
lockFilePatterns: ['yarn.lock'],
|
||||
@@ -94,7 +94,7 @@ export const getCacheDirectoryPath = async (
|
||||
|
||||
core.debug(`${packageManager} path is ${stdOut}`);
|
||||
|
||||
return stdOut;
|
||||
return stdOut.trim();
|
||||
};
|
||||
|
||||
export function isGhes(): boolean {
|
||||
|
||||
Reference in new issue
Block a user