Merge pull request #782 from liluo/dev

fix typo
This commit is contained in:
Ted Nyman
2013-11-17 13:41:16 -08:00

View File

@@ -191,8 +191,8 @@ module Linguist
return false unless extname == '.h' return false unless extname == '.h'
return false unless lines.count > 2 return false unless lines.count > 2
return lines[0].include?("/* DO NOT EDIT THIS FILE - it is machine generated */") return lines[0].include?("/* DO NOT EDIT THIS FILE - it is machine generated */") &&
return lines[1].include?("#include <jni.h>") lines[1].include?("#include <jni.h>")
end end
# node_modules/ can contain large amounts of files, in general not meant # node_modules/ can contain large amounts of files, in general not meant