Update src/install-pnpm/run.ts

This commit is contained in:
Zoltan Kochan 2022-02-22 11:32:59 +02:00 committed by GitHub
parent e7c10c6fc5
commit 777a50d72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)`)
}