-
Notifications
You must be signed in to change notification settings - Fork 10
Replace Printf on analyse with log.info #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -317,7 +317,7 @@ | |
| if _, err := os.Stat(toolConfigPath); os.IsNotExist(err) { | ||
| // Config file does not exist - create it if we have the means to do so | ||
| if (!cliLocalMode && initFlags.ApiToken != "") || cliLocalMode { | ||
| fmt.Printf("Creating new config file for tool %s\n", toolName) | ||
| logger.Info("Creating new config file for tool %s\n", toolName) | ||
|
Check failure on line 320 in cmd/analyze.go
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Suggestion] Using Medium risk | Medium confidence |
||
| if err := configsetup.CreateToolConfigurationFile(toolName, initFlags); err != nil { | ||
| return fmt.Errorf("failed to create config file for tool %s: %w", toolName, err) | ||
|
Comment on lines
319
to
321
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Suggestion] You removed the Low risk | Low confidence
heliocodacy marked this conversation as resolved.
|
||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.