mirror of
https://github.com/pnpm/action-setup.git
synced 2025-03-28 02:30: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 (
|
||||
typeof packageManager === 'string' && packageManager.includes("pnpm@") &&
|
||||
typeof packageManager === 'string' && packageManager.includes('pnpm@') &&
|
||||
packageManager.replace('pnpm@', '') !== version
|
||||
) {
|
||||
throw new Error(`Multiple versions of pnpm specified:
|
||||
|
Loading…
x
Reference in New Issue
Block a user