Skip to content

Commit

Permalink
Fix double dot in file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinguidee committed Sep 9, 2023
1 parent c20fe9d commit 0d2d8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (out *OutputFile) open() error {
return err
}

filename := fmt.Sprintf("vertex_logs_%s.%s", time.Now().Format(time.DateOnly), out.ext)
filename := fmt.Sprintf("vertex_logs_%s%s", time.Now().Format(time.DateOnly), out.ext)

out.file, err = os.OpenFile(path.Join(out.dir, filename), os.O_RDWR|os.O_CREATE|os.O_APPEND, os.ModePerm)
return err
Expand Down

0 comments on commit 0d2d8f6

Please sign in to comment.