Showing 1 of 2 total issues
Consider simplifying this complex logical expression. Open
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