engura/himawari

View on GitHub
lib/himawari/base.rb

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

      unless %i[full top mid low].include?(focus) && %i[live day].include?(mode) &&
             [2, 4, 8, 16, 20].include?(resolution) && blacklist_wifi.is_a?(Array) &&
             (!destination_path || (destination_path && File.directory?(destination_path) && destination_path != '/'))
        puts 'Invalid params. Please double check them.'
        return false
Severity: Critical
Found in lib/himawari/base.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status