-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Climate badges showing 'unknown' and 'not found' #567
Comments
👍 |
Their main website indicates that the whole site is down for maintenance: https://codeclimate.com. Have you contacted them through Twitter? |
that may be the case now, but was not when this issue was filed. shields.io badges for code climate have been showing incorrectly (as above) for a few days, but the ones provided directly from code climate were reporting correctly. |
— Nov. 19th, http://status.codeclimate.com Maybe it is linked? I'll wait until they resolve their current unscheduled outage to see whether it changes anything. |
That is the first time I have seen this HTTP header show up like that. It feels wrong. I contacted them through Twitter here: https://twitter.com/espadrine/status/668209253577039873. |
@espadrine that certainly does seem wrong. In the meantime, seems OK to make the regex a little more accepting: var statusMatch = res.headers['content-disposition']
.match(/filename="code_climate-(.+)\.png"/); Could just add |
Thanks, works like a charm! 😄 |
I noticed a few days ago that this problem has started again for some of the code climate badges. An example can be found by looking at http://shields.io/. |
Would you please open a new issue? Thanks! |
Can we reopen this? I'm encountering it now |
@rocketspacer I'm on mobile right now, but i believe this has been fixed (still needs to be deployed), check issue #1518 |
Shields.io:
Code Climate:
Similar behaviour on http://shields.io/. Apologies if this was reported previously.
The text was updated successfully, but these errors were encountered: