Skip to content

Commit

Permalink
fix: 'window is not defined' error in node (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
doronpr authored and Evgeny Rodionov committed Oct 29, 2016
1 parent 853b5d2 commit fa73b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/defaults.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
level: `log`,
logger: (this && this.console) || (window && window.console),
logger: (this && this.console) || (global.window && global.window.console),
logErrors: true,
collapsed: undefined,
predicate: undefined,
Expand Down

0 comments on commit fa73b41

Please sign in to comment.