File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ function resolveServerPath() {
199
199
}
200
200
201
201
if ( path . isAbsolute ( config . server . path ) ) {
202
- const serverPath = require . resolve ( '@vue/language-server ' , { paths : [ config . server . path ] } ) ;
202
+ const serverPath = require . resolve ( './index.js ' , { paths : [ config . server . path ] } ) ;
203
203
const tsPluginPath = require . resolve ( '@vue/typescript-plugin' , { paths : [ path . dirname ( serverPath ) ] } ) ;
204
204
fs . writeFileSync ( tsPluginPackPath , `module.exports = require("${ tsPluginPath } ");` ) ;
205
205
return serverPath ;
@@ -210,7 +210,7 @@ function resolveServerPath() {
210
210
continue ;
211
211
}
212
212
try {
213
- const serverPath = require . resolve ( '@vue/language-server ' , {
213
+ const serverPath = require . resolve ( './index.js ' , {
214
214
paths : [ vscode . Uri . joinPath ( workspaceFolder . uri , config . server . path ) . fsPath ] ,
215
215
} ) ;
216
216
const tsPluginPath = require . resolve ( '@vue/typescript-plugin' , { paths : [ path . dirname ( serverPath ) ] } ) ;
You can’t perform that action at this time.
0 commit comments