mirror of
https://github.com/pnpm/action-setup.git
synced 2025-03-31 05:00:11 +08:00
Use single quotes
This commit is contained in:
parent
37c5a43eed
commit
80a65d4341
@ -58,7 +58,7 @@ async function readTarget(opts: {
|
|||||||
|
|
||||||
if (version) {
|
if (version) {
|
||||||
if (
|
if (
|
||||||
typeof packageManager === 'string' && packageManager.includes("pnpm@") &&
|
typeof packageManager === 'string' && packageManager.includes('pnpm@') &&
|
||||||
packageManager.replace('pnpm@', '') !== version
|
packageManager.replace('pnpm@', '') !== version
|
||||||
) {
|
) {
|
||||||
throw new Error(`Multiple versions of pnpm specified:
|
throw new Error(`Multiple versions of pnpm specified:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user