Skip to content

Commit 7379a2a

Browse files
committed
fix: intellisense
1 parent 1e58beb commit 7379a2a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/intellisense/completionProviders/vueFiles.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ export class PublicDirCompletionProvider implements CompletionItemProvider {
6767
if (subDirMatch) {
6868
const subdirectoryPath = subDirMatch[1];
6969

70-
if (!subdirectoryPath) {
71-
return [];
72-
}
7370

7471
const subdirectories = subdirectoryPath.split('/');
7572

@@ -141,10 +138,6 @@ export class NuxtPagesCompletionProvider implements CompletionItemProvider {
141138
if (subDirMatch) {
142139
const subdirectoryPath = subDirMatch[1];
143140

144-
if (!subdirectoryPath) {
145-
return [];
146-
}
147-
148141
const subdirectories = subdirectoryPath.split('/');
149142

150143
let currentDir = 'pages';

0 commit comments

Comments
 (0)