Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// if we are running in electron
// we must hack around busted timers
if (process.versions.electron) {
require('../../timers/parent').fix()
}
require('graceful-fs').gracefulify(require('fs'))
require('@packages/coffee/register')
require && require.extensions && delete require.extensions['.litcoffee']
require && require.extensions && delete require.extensions['.coffee.md']
const ipc = require('../util').wrapIpc(process)
const backgroundFile = require('minimist')(process.argv.slice(2)).file
require('./run_background')(process, ipc, backgroundFile)
require('graceful-fs').gracefulify(require('fs'))
require('@packages/coffee/register')
require && require.extensions && delete require.extensions['.litcoffee']
require && require.extensions && delete require.extensions['.coffee.md']
const ipc = require('../util').wrapIpc(process)
const pluginsFile = require('minimist')(process.argv.slice(2)).file
require('./run_plugins')(ipc, pluginsFile)