From d3f96d78ae569efe7c67bc2bd527dc680c20d886 Mon Sep 17 00:00:00 2001 From: Aditya Mathur <57684218+MathurAditya724@users.noreply.github.com> Date: Fri, 29 Nov 2024 08:43:29 +0530 Subject: [PATCH] fix: pm could also be passed from cli options --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 08cd39c..4244a26 100644 --- a/src/index.ts +++ b/src/index.ts @@ -152,7 +152,7 @@ async function main( const emitter = new EventEmitter() // Default package manager - let packageManager = 'npm' + let packageManager = pm ?? 'npm' emitter.addListener('packageManager', (pm) => { packageManager = String(pm) })