pulsar/exports/remote.js
Max Brunsfeld e7444b1ebe Add shims for legacy electron APIs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-07 16:33:52 +02:00

8 lines
266 B
JavaScript

module.exports = require('electron').remote
const Grim = require('grim')
Grim.deprecate('Use `require("electron").remote` instead of `require("remote")`')
// Ensure each package that requires this shim causes a deprecation warning
delete require.cache[__filename]