Skip to content

Commit

Permalink
chore: Update .gitignore to ignore .DS_Store file and fix filename in…
Browse files Browse the repository at this point in the history
… common.go
  • Loading branch information
theztefan committed Aug 19, 2024
1 parent 46d9265 commit f56c499
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
release-command.md
secret*.csv
Secret*.csv
.DS_Store
2 changes: 1 addition & 1 deletion cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f56c499

Please sign in to comment.