anomaly/jekyll-faker

View on GitHub

Showing 1 of 1 total issue

Method discover has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

def discover(const)
return ArgumentError, "No Faker given" unless const
::Faker.const_defined?(const) ? ::Faker.const_get(const) : \
matched_discovery(const)
rescue NameError
Severity: Minor
Found in lib/jekyll/faker/tag.rb - About 35 mins to fix
Severity
Category
Status
Source
Language