mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 05:19:08 +08:00 
			
		
		
		
	Merge pull request #69 from zakuro9715/zakuro9715-patch-2
Remove corepack url in error message
This commit is contained in:
		@@ -49,7 +49,7 @@ Otherwise, please specify the pnpm version in the action configuration.`)
 | 
				
			|||||||
    throw new Error(`No pnpm version is specified.
 | 
					    throw new Error(`No pnpm version is specified.
 | 
				
			||||||
Please specify it by one of the following ways:
 | 
					Please specify it by one of the following ways:
 | 
				
			||||||
  - in the GitHub Action config with the key "version"
 | 
					  - in the GitHub Action config with the key "version"
 | 
				
			||||||
  - in the package.json with the key "packageManager" (See https://nodejs.org/api/corepack.html)`)
 | 
					  - in the package.json with the key "packageManager"`)
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (!packageManager.startsWith('pnpm@')) {
 | 
					  if (!packageManager.startsWith('pnpm@')) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user