From dcc99dd5cb33d26d90545b0e05baf9ebfaf7279b Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 15 Dec 2015 16:10:04 -0800 Subject: [PATCH] Remove duplicate start calls --- atom/common/api/lib/crash-reporter.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/atom/common/api/lib/crash-reporter.coffee b/atom/common/api/lib/crash-reporter.coffee index bd98ae2a..fb0f1eba 100644 --- a/atom/common/api/lib/crash-reporter.coffee +++ b/atom/common/api/lib/crash-reporter.coffee @@ -40,9 +40,7 @@ class CrashReporter env = ATOM_SHELL_INTERNAL_CRASH_SERVICE: 1 spawn process.execPath, args, {env, detached: true} - start() - else - start() + start() getLastCrashReport: -> reports = this.getUploadedReports() -- 2.43.0