godobject/smuxi-hooks-ruby

View on GitHub

Showing 1 of 1 total issue

Method execute_hook has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def execute_hook(executable_path, environment = ENV)
          split_pattern = /\/#{BASE_DIRECTORY_NAME}\/#{HOOKS_DIRECTORY_NAME}\//
          config_directory, relative_executable = executable_path.
                                                  split(split_pattern)

Severity: Minor
Found in lib/god_object/smuxi_hooks/plugin.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language