mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Don't bother creating an instance
This commit is contained in:
@@ -117,7 +117,7 @@ module Linguist
|
||||
|
||||
# Used to retrieve the interpreter from the shebang line of a file's data.
|
||||
def self.interpreter_from_shebang(data)
|
||||
Shebang.new(data).interpreter
|
||||
Shebang.interpreter(data)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user