Skip to content

Commit 5036501

Browse files
committed
Silence new Buffer() deprecation warnings in dependencies
Fixes #535
1 parent 0158a66 commit 5036501

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'use strict';
2+
3+
// Silence `new Buffer()` deprecation warnings in dependencies
4+
process.env.NODE_NO_WARNINGS = '1';
5+
26
require('strict-import')(module, {
37
_allowedModules: [
48
'electron-debug',

0 commit comments

Comments
 (0)