mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
👷 Tests, how do they work
This commit is contained in:
@@ -66,8 +66,8 @@ class CrashReporter {
|
||||
getLastCrashReport () {
|
||||
const reports = this.getUploadedReports()
|
||||
.sort((a, b) => {
|
||||
const ats = (a && a.timestamp) ? new Date(a.timestamp).getTime() : 0
|
||||
const bts = (b && b.timestamp) ? new Date(b.timestamp).getTime() : 0
|
||||
const ats = (a && a.date) ? new Date(a.date).getTime() : 0
|
||||
const bts = (b && b.date) ? new Date(b.date).getTime() : 0
|
||||
return bts - ats
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user