Skip to content

Commit

Permalink
Fix Issue samsymons#33
Browse files Browse the repository at this point in the history
  • Loading branch information
BukhariH committed Oct 27, 2014
1 parent 7113ebc commit 27925a4
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
Binary file added lib/.DS_Store
Binary file not shown.
Binary file added lib/redditkit/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/redditkit/comment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def deleted?
# The replies to a comment.
def replies
replies_listing = @attributes[:replies]
return [] if replies_listing.empty?
return [] if replies_listing.nil?

replies_array = replies_listing[:data][:children]

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 27925a4

Please sign in to comment.