Skip to content

Commit

Permalink
Comparison of Doing::Section to string
Browse files Browse the repository at this point in the history
- FIXED: comparison of Doing::Section to string
  • Loading branch information
ttscoff committed Aug 8, 2022
1 parent cbd3451 commit 69413f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/doing/items/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Items < Array
#
def in_section(section)
sect = section.is_a?(Section) ? section.title : section
if section =~ /^all$/i
if sect =~ /^all$/i
dup
else
items = Items.new.concat(select { |item| !item.nil? && item.section == section })
Expand Down
2 changes: 1 addition & 1 deletion lib/doing/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Doing
VERSION = '2.1.67'
VERSION = '2.1.68'
end

0 comments on commit 69413f8

Please sign in to comment.