mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-27 12:16:42 +00:00
Other: use windows-compatible filename when dumping message in QA builds
This commit is contained in:
@ -48,7 +48,7 @@ func dumpMessageData(b []byte, subject string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := ioutil.WriteFile(
|
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,
|
b,
|
||||||
0600,
|
0600,
|
||||||
); err != nil {
|
); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user