Skip to content

Commit

Permalink
Silence new Buffer() deprecation warnings in dependencies
Browse files Browse the repository at this point in the history
Fixes #535
  • Loading branch information
sindresorhus committed Sep 28, 2018
1 parent 0158a66 commit 5036501
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'use strict';

// Silence `new Buffer()` deprecation warnings in dependencies
process.env.NODE_NO_WARNINGS = '1';

require('strict-import')(module, {
_allowedModules: [
'electron-debug',
Expand Down

0 comments on commit 5036501

Please sign in to comment.