Skip to content

Commit

Permalink
Merge pull request #16045 from Serabe/fix/16041
Browse files Browse the repository at this point in the history
[BUGFIX beta] Fix double debug output
  • Loading branch information
rwjblue authored Jan 2, 2018
2 parents 9b9e72d + 51e1930 commit b2aa1cd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/ember-console/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,13 @@ export default {
@public
*/
debug() {
return console.debug && console.debug(...arguments) || console.info(...arguments); // eslint-disable-line no-console
/* eslint-disable no-console */
if (console.debug) {
return console.debug(...arguments);
}

return console.info(...arguments);
/* eslint-enable no-console */
},

/**
Expand Down

0 comments on commit b2aa1cd

Please sign in to comment.