|
@@ -63,7 +63,7 @@ var CrashReporter = (function () {
|
|
|
binding.start(this.productName, companyName, submitURL, autoSubmit, ignoreSystemCrashHandler, extra)
|
|
|
}
|
|
|
if (process.platform === 'win32') {
|
|
|
- args = ["--reporter-url=" + submitURL, "--application-name=" + this.productName, "--v=1"]
|
|
|
+ args = ['--reporter-url=' + submitURL, '--application-name=' + this.productName, '--v=1']
|
|
|
env = {
|
|
|
ATOM_SHELL_INTERNAL_CRASH_SERVICE: 1
|
|
|
}
|
|
@@ -88,12 +88,11 @@ var CrashReporter = (function () {
|
|
|
CrashReporter.prototype.getUploadedReports = function () {
|
|
|
var log, tmpdir
|
|
|
tmpdir = process.platform === 'win32' ? os.tmpdir() : '/tmp'
|
|
|
- log = process.platform === 'darwin' ? path.join(tmpdir, this.productName + " Crashes") : path.join(tmpdir, this.productName + " Crashes", 'uploads.log')
|
|
|
+ log = process.platform === 'darwin' ? path.join(tmpdir, this.productName + ' Crashes') : path.join(tmpdir, this.productName + ' Crashes', 'uploads.log')
|
|
|
return binding._getUploadedReports(log)
|
|
|
}
|
|
|
|
|
|
return CrashReporter
|
|
|
-
|
|
|
})()
|
|
|
|
|
|
-module.exports = new CrashReporter
|
|
|
+module.exports = new CrashReporter()
|