Skip to content
Browse files

Fixed infinite loop due to the root path on windows being C:/ instead…

… of /. Using File.basename resolves this.

Change-Id: I98c660a24f5387b57e1fdc2401d3b4df0047953e
  • Loading branch information...
1 parent fe85e04 commit 21ab21bc13c0f2a55addfa441a1c61875f80ad65 Luke Bakken committed with Patrick Bozeman
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cli/commands/base.rb
View
2 lib/cli/commands/base.rb
@@ -38,7 +38,7 @@ def manifest_file
if File.exists?(File.join(where, MANIFEST))
@manifest_file = File.join(where, MANIFEST)
break
- elsif where == "/"
+ elsif File.basename(where) == "/"
@manifest_file = nil
break
else

0 comments on commit 21ab21b

Please sign in to comment.
Something went wrong with that request. Please try again.