Skip to content

Commit

Permalink
Fix #39
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudgg committed Jun 8, 2012
1 parent f976c2d commit 14c2e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listen/directory_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def detect_additions(directory, options = {})
elsif !ignored?(path) && filtered?(path) && !existing_path?(path)
if File.file?(path)
@changes[:added] << (options[:relative_paths] ? relative_to_base(path) : path)
insert_path(path)
end
insert_path(path)
end
end
end
Expand Down

0 comments on commit 14c2e4e

Please sign in to comment.