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 @@ -367,9 +367,9 @@ func TestCheckIfConfigExistsAndIsNeeded(t *testing.T) {
367367 err = checkIfConfigExistsAndIsNeeded (tt .toolName , tt .cliLocalMode )
368368
369369 // Clean up any files that might have been created by the function under test
370- if ! tt .configFileExists && toolConfigFileName [tt .toolName ] != "" {
370+ if ! tt .configFileExists && constants . ToolConfigFileNames [tt .toolName ] != "" {
371371 toolsConfigDir := config .Config .ToolsConfigDirectory ()
372- configPath := filepath .Join (toolsConfigDir , toolConfigFileName [tt .toolName ])
372+ configPath := filepath .Join (toolsConfigDir , constants . ToolConfigFileNames [tt .toolName ])
373373 if _ , statErr := os .Stat (configPath ); statErr == nil {
374374 os .Remove (configPath )
375375 }
You can’t perform that action at this time.
0 commit comments