mashirozx/mastodon

View on GitHub
app/javascript/mastodon/actions/push_notifications/registerer.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function register has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function register () {
  return (dispatch, getState) => {
    dispatch(setBrowserSupport(supportsPushNotifications));

    if (supportsPushNotifications) {
Severity: Major
Found in app/javascript/mastodon/actions/push_notifications/registerer.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status