Skip to content

Commit

Permalink
fix: pm could also be passed from cli options
Browse files Browse the repository at this point in the history
  • Loading branch information
MathurAditya724 committed Nov 29, 2024
1 parent 290009e commit d3f96d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async function main(
const emitter = new EventEmitter<EventMap>()

// Default package manager
let packageManager = 'npm'
let packageManager = pm ?? 'npm'
emitter.addListener('packageManager', (pm) => {
packageManager = String(pm)
})
Expand Down

0 comments on commit d3f96d7

Please sign in to comment.