jiahaog/nativefier

View on GitHub
app/src/components/contextMenu.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function initContextMenu has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function initContextMenu(createNewWindow, createNewTab): void {
  contextMenu({
    prepend: (actions, params) => {
      const items = [];
      if (params.linkURL) {
Severity: Minor
Found in app/src/components/contextMenu.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status