Skip to content

Commit

Permalink
still working on code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Missy authored and Missy committed Apr 30, 2013
1 parent 0abc7d5 commit e300b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squirrel/squirrel.rb
Expand Up @@ -145,7 +145,7 @@ def build_task_controllers
end

def add_task?(var, var_name, task_name)
if is_not_nil?(var) && var != []
unless var.nil? && var == []
@execute_tasks[task_name] ||= {}
@execute_tasks[task_name][var_name.to_sym] = var
unless @execute_tasks[task_name].has_key?(:cache)
Expand Down

0 comments on commit e300b55

Please sign in to comment.