packages/electron/src/client/renderer.js
Function createRendererClient
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const createRendererClient = (rendererOpts) => {
if (!window.__bugsnag_ipc__) throw new Error('Bugsnag was not loaded in the main process')
const internalPlugins = [
require('@bugsnag/plugin-electron-renderer-client-state-updates')(window.__bugsnag_ipc__),