We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 180a417 + 0ac9c80 commit 60b06c0Copy full SHA for 60b06c0
plugin.go
@@ -431,7 +431,7 @@ func (p Plugin) Exec() error {
431
args = append(args, "-Dsonar.projectBaseDir="+p.Config.Workspace)
432
}
433
434
- if os.IsNotExist(err) && p.Config.UseSonarConfigFile {
+ if os.IsNotExist(err) || !p.Config.UseSonarConfigFile {
435
// If the configuration file does not exist, use the default parameters
436
fmt.Println("Configuration file not found. Using default parameters.")
437
args = []string{
0 commit comments