mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-21 08:45:32 +00:00
consolidate shebang logic
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
module Linguist
|
||||
module Strategy
|
||||
# Check if there's a shebang line and use that as authoritative
|
||||
class Shebang
|
||||
def self.call(blob, _)
|
||||
Language.find_by_shebang(blob.data)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user