Closed jfdnc closed 2 years ago
Fixes https://github.com/adopted-ember-addons/ember-moment/issues/362
Current implementation throws TypeError for undefined if config.moment.outputFormat is not specified.
TypeError
undefined
config.moment.outputFormat
config.moment
null
@alexlafroscia Thanks for the review and the lint fix 🎉
Fixes https://github.com/adopted-ember-addons/ember-moment/issues/362
Current implementation throws
TypeError
forundefined
ifconfig.moment.outputFormat
is not specified.config.moment
andconfig.moment.outputFormat
null
otherwise