Skip to content

Commit 6652977

Browse files
committed
chore: add a note that pnpm init cannot be distinguished at the moment
1 parent e1e61c6 commit 6652977

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ async function init() {
304304

305305
// Instructions:
306306
// Supported package managers: pnpm > yarn > npm
307+
// Note: until <https://github.com/pnpm/pnpm/issues/3505> is resolved,
308+
// it is not possible to tell if the command is called by `pnpm init`.
307309
const packageManager = /pnpm/.test(process.env.npm_execpath)
308310
? 'pnpm'
309311
: /yarn/.test(process.env.npm_execpath)

0 commit comments

Comments
 (0)