Skip to content

Commit ab7d9e3

Browse files
committed
better status checking of deno packages
1 parent cda2fec commit ab7d9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/ecosystem/deno.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def documentation_url(package, version = nil)
1414

1515
def check_status(package)
1616
url = check_status_url(package)
17-
response = Typhoeus.head(url)
17+
response = Typhoeus.head(url, followlocation: true)
1818
"removed" if [400, 404, 410].include?(response.response_code)
1919
end
2020

0 commit comments

Comments
 (0)