From 67dd59638674ef2100fb3e88490a9f7e668c483c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 15 Nov 2013 11:00:48 +0800 Subject: [PATCH] Enable starting crash-reporter without parameters. --- common/api/lib/crash-reporter.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/api/lib/crash-reporter.coffee b/common/api/lib/crash-reporter.coffee index 09a23dbeb4e8..cf1987123300 100644 --- a/common/api/lib/crash-reporter.coffee +++ b/common/api/lib/crash-reporter.coffee @@ -1,7 +1,7 @@ binding = process.atomBinding 'crash_reporter' class CrashReporter - start: (options) -> + start: (options={}) -> {productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler} = options productName ?= 'Atom-Shell'