mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #1890 from github/cut-release-v4.2.4
Updating Linguist version for v4.2.4
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
module Linguist
|
module Linguist
|
||||||
VERSION = "4.2.3"
|
VERSION = "4.2.5"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ CSONC = File.expand_path("../../node_modules/.bin/csonc", __FILE__)
|
|||||||
|
|
||||||
class TarballPackage
|
class TarballPackage
|
||||||
def self.fetch(tmp_dir, url)
|
def self.fetch(tmp_dir, url)
|
||||||
`curl --silent --location --max-time 10 --output "#{tmp_dir}/archive" "#{url}"`
|
`curl --silent --location --max-time 30 --output "#{tmp_dir}/archive" "#{url}"`
|
||||||
raise "Failed to fetch GH package: #{url} #{$?.to_s}" unless $?.success?
|
raise "Failed to fetch GH package: #{url} #{$?.to_s}" unless $?.success?
|
||||||
|
|
||||||
output = File.join(tmp_dir, 'extracted')
|
output = File.join(tmp_dir, 'extracted')
|
||||||
|
|||||||
Reference in New Issue
Block a user