mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-10-31 09:22:11 +08:00 
			
		
		
		
	Update src/install-pnpm/run.ts
This commit is contained in:
		| @@ -42,7 +42,7 @@ async function readTarget(packageJsonPath: string, version?: string | undefined) | ||||
|   const { packageManager } = JSON.parse(await readFile(packageJsonPath, 'utf8')) | ||||
|   if (typeof packageManager !== 'string') { | ||||
|     throw new Error(`No pnpm version is specified. | ||||
| Please specify it by one of the following way: | ||||
| Please specify it by one of the following ways: | ||||
|   - in the GitHub Action config with the key "version" | ||||
|   - in the package.json with the key "packageManager" (See https://nodejs.org/api/corepack.html)`) | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user