jdalrymple/gitbeaker

View on GitHub
packages/cli/src/utils.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function getGlobalConfig has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function getGlobalConfig(env = process.env): GlobalCLIConfig {
  const normalEnv = normalizeEnviromentVariables(env);

  return {
    'gb-token': {
Severity: Major
Found in packages/cli/src/utils.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status