File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,15 @@ export const updateDependencies = async () => {
237237 const outdatedDependenciesList : any = await commands . executeCommand ( 'nuxtr.globalState' , { name : 'outdatedDependencies' } )
238238
239239 const updateCommand : any = {
240- Yarn : `yarn add` ,
241240 NPM : `npm install` ,
242- pnpm : `pnpm install`
241+ Yarn : `yarn add` ,
242+ pnpm : `pnpm add` ,
243+ Bun : `bun add` ,
243244 }
244245
246+ console . log ( 'packageManager' , packageManager ) ;
247+
248+
245249 const command = packageManager ? updateCommand [ packageManager . name ] : updateCommand [ defaultPackageManager ] !== null ? updateCommand [ defaultPackageManager ] : updateCommand [ 'NPM' ]
246250
247251 const items : QuickPickItem [ ] = outdatedDependenciesList . map ( ( item : any ) => {
You can’t perform that action at this time.
0 commit comments