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 {
154154 codeLensViewReferences : true ,
155155 fixIndents : true ,
156156 languageConfiguration : true ,
157- storagePath : this . context . globalStorageUri . path ,
157+ storagePath : this . context . globalStorageUri . fsPath ,
158158 } ,
159159 } ;
160160
@@ -330,23 +330,23 @@ class LuaClient extends Disposable {
330330 if ( typeof config !== 'object' || config === null ) {
331331 return config ;
332332 }
333-
333+
334334 for ( const key in config ) {
335335 if ( config . hasOwnProperty ( key ) ) {
336336 const value = config [ key ] ;
337-
337+
338338 if ( typeof value === 'object' && value !== null ) {
339339 convertStringsToRegex ( value ) ;
340340 }
341-
341+
342342 if ( key === 'beforeText' || key === 'afterText' ) {
343343 if ( typeof value === 'string' ) {
344344 config [ key ] = new RegExp ( value ) ;
345345 }
346346 }
347347 }
348348 }
349-
349+
350350 return config ;
351351 }
352352
You can’t perform that action at this time.
0 commit comments