File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ class LuaClient extends Disposable {
154
154
codeLensViewReferences : true ,
155
155
fixIndents : true ,
156
156
languageConfiguration : true ,
157
- storagePath : this . context . globalStorageUri . path ,
157
+ storagePath : this . context . globalStorageUri . fsPath ,
158
158
} ,
159
159
} ;
160
160
@@ -330,23 +330,23 @@ class LuaClient extends Disposable {
330
330
if ( typeof config !== 'object' || config === null ) {
331
331
return config ;
332
332
}
333
-
333
+
334
334
for ( const key in config ) {
335
335
if ( config . hasOwnProperty ( key ) ) {
336
336
const value = config [ key ] ;
337
-
337
+
338
338
if ( typeof value === 'object' && value !== null ) {
339
339
convertStringsToRegex ( value ) ;
340
340
}
341
-
341
+
342
342
if ( key === 'beforeText' || key === 'afterText' ) {
343
343
if ( typeof value === 'string' ) {
344
344
config [ key ] = new RegExp ( value ) ;
345
345
}
346
346
}
347
347
}
348
348
}
349
-
349
+
350
350
return config ;
351
351
}
352
352
You can’t perform that action at this time.
0 commit comments