Permalink
Browse files

Merge pull request #4 from jairtrejo/fix-effuseignore

Fix reading of .effuseignore file
  • Loading branch information...
2 parents 017c5ee + 2189931 commit dfb437914d9b23f6b3bcd1521035953426847796 @programble committed Apr 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/effuse
View
@@ -12,7 +12,7 @@ options = OpenStruct.new(:verbose => false,
:exclude => %w[.effuseignore .git .gitignore .gitmodules *~ .*~ .*.swp])
if File.exist?('.effuseignore')
- File.open('.effuseignore').lines do |line|
+ File.open('.effuseignore').lines.each do |line|
options.exclude << line.chomp
end
end

0 comments on commit dfb4379

Please sign in to comment.