diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index e28aaed..9531fee 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ release-command.md secret*.csv Secret*.csv +.DS_Store \ No newline at end of file diff --git a/cmd/common.go b/cmd/common.go index 8b5e29f..b96afd4 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -341,7 +341,7 @@ func generateCSVReport(alerts []Alert, scope string, validity_check bool) (err e now := time.Now() // Format the time as YYYYMMDD-HHMMSS timestamp := now.Format("20060102-150405") - filename := secretscanningreport-" + scope + "-" + timestamp + ".csv" + filename := "secretscanningreport-" + scope + "-" + timestamp + ".csv" // Create a CSV file file, err := os.Create(filename) if err != nil {