Skip to content

Commit

Permalink
Fix for misplaced elif (harmless given the logic but caused a warning…
Browse files Browse the repository at this point in the history
… regardless)
  • Loading branch information
Mike Simons committed Sep 18, 2012
1 parent 0b5cb77 commit 5e20ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xiki/menu.rb
Expand Up @@ -634,7 +634,7 @@ def self.do_as_menu
elsif line =~ /^[ +-]*@/ && Tree.has_child? # If on ^@... line and there's child on next line...
# Will grab the whole tree and move it up
Tree.subtree.unindent.sub(/^[ @+-]+/, '')
elsif
else
do_launch = true
Tree.path.last
end
Expand Down

0 comments on commit 5e20ff7

Please sign in to comment.