File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,6 @@ async function nuxtDevToolsHandler() {
150150 let nuxtVersion = getNuxtVersion ( ) ;
151151 if ( typeof nuxtVersion === 'string' ) {
152152 isDevtoolsNative = nuxtVersion . startsWith ( '3.8' ) ? true : false ;
153- console . log ( 'isDevtoolsNative' , isDevtoolsNative ) ;
154-
155153 }
156154
157155 if ( ! isInstalled && ! isDevtoolsNative ) {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const runCommand = pm ? pm.runCommand : 'npx';
88
99
1010const fetchModules = async ( ) => {
11- let res = await ofetch ( 'https://nuxt.com/api /modules' ) ;
11+ let res = await ofetch ( 'https://api. nuxt.com/modules' ) ;
1212 return res . modules ;
1313}
1414
@@ -67,7 +67,7 @@ export const handleModuleCommand = async () => {
6767 } ;
6868
6969 const items = modules
70- . filter ( module => isNuxtTwo ( ) ? module . tags . includes ( '2.x ' ) : module . tags . includes ( '3.x ' ) )
70+ . filter ( module => isNuxtTwo ( ) ? module . compatibility . nuxt . includes ( '2.0.0 ' ) : module . compatibility . nuxt . includes ( '3.0.0 ' ) )
7171 . map ( ( module ) => {
7272 const item : QuickPickItem = {
7373 label : module . name ,
You can’t perform that action at this time.
0 commit comments