Other: use windows-compatible filename when dumping message in QA builds

create-reload-action
James Houlahan 5 years ago
parent 186fa24106
commit e9e4d8c725
  1. 2
      internal/smtp/dump_qa.go

@ -48,7 +48,7 @@ func dumpMessageData(b []byte, subject string) {
}
if err := ioutil.WriteFile(
filepath.Join(path, fmt.Sprintf("%v-%v.eml", subject, time.Now().Format(time.RFC3339Nano))),
filepath.Join(path, fmt.Sprintf("%v-%v.eml", subject, time.Now().Unix())),
b,
0600,
); err != nil {

Loading…
Cancel
Save