Skip to content

Commit 6b54110

Browse files
authored
Replace Printf on analyse with log.info (#183)
* "Replace Printf on analyse with log.info" * Fix string format
1 parent f961a76 commit 6b54110

File tree

3 files changed

+267
-183
lines changed

3 files changed

+267
-183
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ codacy-cli
4141

4242
#Ignore vscode AI rules
4343
.github/copilot-instructions.md
44+
45+
46+
#Ignore vscode AI rules
47+
.github/instructions/codacy.instructions.md

cmd/analyze.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ func checkIfConfigExistsAndIsNeeded(toolName string, cliLocalMode bool) error {
317317
if _, err := os.Stat(toolConfigPath); os.IsNotExist(err) {
318318
// Config file does not exist - create it if we have the means to do so
319319
if (!cliLocalMode && initFlags.ApiToken != "") || cliLocalMode {
320-
fmt.Printf("Creating new config file for tool %s\n", toolName)
321320
if err := configsetup.CreateToolConfigurationFile(toolName, initFlags); err != nil {
322321
return fmt.Errorf("failed to create config file for tool %s: %w", toolName, err)
323322
}

0 commit comments

Comments
 (0)