@@ -113,7 +113,7 @@ export async function activate(context: vscode.ExtensionContext, disposables?: A
113113 const watchTargets = [
114114 ...Object . values ( supportedFiles . npm ) ,
115115 ...Object . values ( supportedFiles . pypi ) ,
116- ...Object . values ( supportedFiles . go )
116+ ...Object . values ( supportedFiles . golang )
117117 ] . map ( info => info . pattern ) ;
118118
119119 addDisposablesTo (
@@ -291,7 +291,7 @@ export async function activate(context: vscode.ExtensionContext, disposables?: A
291291 ...allPyFiles
292292 ] = await Promise . all ( [
293293 findWorkspaceFiles ( `**/${ globPatterns . npm . packagejson . pattern } ` , pkgJSONCacheKey ) ,
294- findWorkspaceFiles ( `**/${ globPatterns . go . gomod . pattern } ` , goModCacheKey ) ,
294+ findWorkspaceFiles ( `**/${ globPatterns . golang . gomod . pattern } ` , goModCacheKey ) ,
295295 findWorkspaceFiles ( `**/${ globPatterns . pypi . pipfile . pattern } ` , pipfileCacheKey ) ,
296296 findWorkspaceFiles ( `**/${ globPatterns . pypi . pyproject . pattern } ` , pyprojectCacheKey ) ,
297297 findWorkspaceFiles ( `**/${ globPatterns . pypi . requirements . pattern } ` , requirementsCacheKey ) ,
@@ -310,9 +310,9 @@ export async function activate(context: vscode.ExtensionContext, disposables?: A
310310 ) ) . flat ( ) . filter ( file => pkgJSONParents . has ( uriParent ( file . uri ) ) )
311311
312312 const goModParents = new Set ( goModFiles . map ( file => uriParent ( file . uri ) ) )
313- const goExtraFilePatterns = Object . keys ( globPatterns . go )
313+ const goExtraFilePatterns = Object . keys ( globPatterns . golang )
314314 . filter ( name => name !== 'gomod' )
315- . map ( name => globPatterns . go [ name ] )
315+ . map ( name => globPatterns . golang [ name ] )
316316
317317 const goExtraFiles = ( await Promise . all (
318318 goExtraFilePatterns . map ( p => findWorkspaceFiles ( `**/${ p . pattern } ` , hashCacheKey ) )
0 commit comments