mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
fix typo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user