bugsnag/bugsnag-js

View on GitHub
packages/react-native-cli/src/commands/ConfigureCommand.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function run has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default async function run (projectRoot: string, urls: OnPremiseUrls): Promise<boolean> {
  try {
    const { apiKey } = await prompts({
      type: 'text',
      name: 'apiKey',
Severity: Minor
Found in packages/react-native-cli/src/commands/ConfigureCommand.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status