Enable starting crash-reporter without parameters.

This commit is contained in:
Cheng Zhao 2013-11-15 11:00:48 +08:00
parent bd0836581b
commit 67dd596386

View file

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