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

This commit is contained in:
James Houlahan
2021-08-04 13:05:57 +02:00
parent 186fa24106
commit e9e4d8c725

View File

@ -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 {