Skip to content

Commit 797f5f8

Browse files
authored
Fix string format
1 parent b64f2e6 commit 797f5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/analyze.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ 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-
logger.Info("Creating new config file for tool %s\n", toolName)
320+
logger.Info(fmt.Sprintf("Creating new config file for tool %s\n", toolName))
321321
if err := configsetup.CreateToolConfigurationFile(toolName, initFlags); err != nil {
322322
return fmt.Errorf("failed to create config file for tool %s: %w", toolName, err)
323323
}

0 commit comments

Comments
 (0)