diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index eb052c3d..2d4c54ea 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -150,7 +150,7 @@ module Linguist # # Return true or false def viewable? - text? && !large? + !large? && text? end vendored_paths = YAML.load_file(File.expand_path("../vendor.yml", __FILE__))