Skip to content

Commit

Permalink
Do not warn about deprecated APIs
Browse files Browse the repository at this point in the history
Some APIs deprecated by iojs is still in use.
  • Loading branch information
zcbenz committed Jan 23, 2015
1 parent 3926b90 commit e800523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions atom/common/lib/init.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ path = require 'path'
timers = require 'timers'
Module = require 'module'

# Do not warn about deprecated APIs.
process.noDeprecation = true

process.atomBinding = (name) ->
try
process.binding "atom_#{process.type}_#{name}"
Expand Down

0 comments on commit e800523

Please sign in to comment.