Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
drujensen committed Dec 12, 2016
1 parent 9b36e93 commit a1c1f2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/delimiter/tree.cr
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ module Delimiter

parts = path.split(@delimiter)
parts.each do |part|
if pos.children.has_key?("*")
if pos.children.has_key?("*")
pos.children["*"].payload.each {|p| result.payload << p}
end

if pos.children.has_key? part
pos = pos.children[part]
else
Expand All @@ -45,7 +45,7 @@ module Delimiter
end
end

pos == last_pos ? break :(last_pos = pos)
pos == last_pos ? break : (last_pos = pos)
end
pos.payload.each {|p| result.payload << p}
result.found = !result.payload.empty?
Expand Down

0 comments on commit a1c1f2f

Please sign in to comment.