Skip to content

Commit f56c499

Browse files
committed
chore: Update .gitignore to ignore .DS_Store file and fix filename in common.go
1 parent 46d9265 commit f56c499

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
release-command.md
44
secret*.csv
55
Secret*.csv
6+
.DS_Store

cmd/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func generateCSVReport(alerts []Alert, scope string, validity_check bool) (err e
341341
now := time.Now()
342342
// Format the time as YYYYMMDD-HHMMSS
343343
timestamp := now.Format("20060102-150405")
344-
filename := secretscanningreport-" + scope + "-" + timestamp + ".csv"
344+
filename := "secretscanningreport-" + scope + "-" + timestamp + ".csv"
345345
// Create a CSV file
346346
file, err := os.Create(filename)
347347
if err != nil {

0 commit comments

Comments
 (0)