Enable starting crash-reporter without parameters.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 15 Nov 2013 03:00:48 +0000 (11:00 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 15 Nov 2013 03:00:48 +0000 (11:00 +0800)
common/api/lib/crash-reporter.coffee

index 09a23db..cf19871 100644 (file)
@@ -1,7 +1,7 @@
 binding = process.atomBinding 'crash_reporter'
 
 class CrashReporter
-  start: (options) ->
+  start: (options={}) ->
     {productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler} = options
 
     productName ?= 'Atom-Shell'