Skip to content

Commit

Permalink
remove impossible case
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu authored and ColinDKelley committed Dec 31, 2020
1 parent 8653d13 commit 5957a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listen/record.rb
Expand Up @@ -45,7 +45,7 @@ def file_data(rel_path)
end

def dir_entries(rel_path)
subtree = if [nil, '', '.'].include? rel_path.to_s
subtree = if ['', '.'].include? rel_path.to_s
@tree
else
@tree[rel_path.to_s] ||= _auto_hash
Expand Down

0 comments on commit 5957a3e

Please sign in to comment.