mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Stub out console::trace in task-bootstrap
This prevents errors from being logged when console.trace() is called from a task process.
This commit is contained in:
@@ -7,6 +7,7 @@ setupGlobals = ->
|
||||
warn: -> emit 'task:warn', arguments...
|
||||
log: -> emit 'task:log', arguments...
|
||||
error: -> emit 'task:error', arguments...
|
||||
trace: ->
|
||||
global.__defineGetter__ 'console', -> console
|
||||
|
||||
global.document =
|
||||
|
||||
Reference in New Issue
Block a user