bugsnag/bugsnag-js

View on GitHub
packages/electron/src/client/renderer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createRendererClient has 47 lines of code (exceeds 25 allowed). Consider refactoring.
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__),
Severity: Minor
Found in packages/electron/src/client/renderer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status