docs: clarify documentation for getLastCrashReport (#17458)

* docs: clarify documentation for getLastCrashReport

* address feedback
This commit is contained in:
Shelley Vohr 2019-03-20 15:34:21 -07:00 committed by GitHub
parent b140a82fe8
commit b25279df89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,8 +95,7 @@ them will get reported without `companyName`, `productName` or any of the `extra
Returns [`CrashReport`](structures/crash-report.md):
Returns the date and ID of the last crash report. If no crash reports have been
sent or the crash reporter has not been started, `null` is returned.
Returns the date and ID of the last crash report. Only crash reports that have been uploaded will be returned; even if a crash report is present on disk it will not be returned until it is uploaded. In the case that there are no uploaded reports, `null` is returned.
### `crashReporter.getUploadedReports()`