drsound/fault_tolerant_router

View on GitHub
lib/fault_tolerant_router/generate_config.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method generate_config has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def generate_config(file_path)
  if File.exist?(file_path)
    puts "Configuration file #{file_path} already exists, will not overwrite!"
    exit 1
  end
Severity: Major
Found in lib/fault_tolerant_router/generate_config.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status