Skip to content

Commit

Permalink
err, fixing empty value warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmit committed Aug 8, 2015
1 parent 70182bd commit f3cd5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/utils/compute-fn.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function(cb) {
const datetime = params[0];

if ([null, '', undefined].indexOf(datetime) > -1 && (hash.allowEmpty || hash['allow-empty'])) {
Ember.Logger.warn('ember-moment: an empty value (null, undefined, or '') was passed to moment-format');
Ember.Logger.warn('ember-moment: an empty value (null, undefined, or "") was passed to moment-format');
return;
}

Expand Down

0 comments on commit f3cd5ff

Please sign in to comment.