No warning(s) in the output file with -quiet option. Report command (#885)
This commit is contained in:
		@@ -104,6 +104,10 @@ func formatOneLineSummary(rs ...models.ScanResult) string {
 | 
			
		||||
				r.FormatServerName(), r.Warnings))
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	// We don't want warning message to the summary file
 | 
			
		||||
	if config.Conf.Quiet {
 | 
			
		||||
		return fmt.Sprintf("%s\n", table)
 | 
			
		||||
	}
 | 
			
		||||
	return fmt.Sprintf("%s\n\n%s", table, strings.Join(
 | 
			
		||||
		warnMsgs, "\n\n"))
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user