Skip to content

Commit

Permalink
handle missing blob mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Nov 23, 2011
1 parent d2118d1 commit 7cdee48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/linguist/blob_helper.rb
Expand Up @@ -147,6 +147,7 @@ def drupal_extname?
# Return true or false
def shebang_extname?
extname.empty? &&
mode &&
(mode.to_i(8) & 05) == 05
end

Expand Down

0 comments on commit 7cdee48

Please sign in to comment.