We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a5a35 commit a69a5d0Copy full SHA for a69a5d0
app/routes/crate/version.js
@@ -41,8 +41,7 @@ export default Route.extend({
41
};
42
43
const fetchCrateDocumentation = () => {
44
- if (!crate.get('documentation') ||
45
- crate.get('documentation').substr(0, 16) === 'https://docs.rs/') {
+ if (!crate.get('documentation')) {
46
let crateName = crate.get('name');
47
let crateVersion = params.version_num;
48
this.get('ajax').request(`https://docs.rs/crate/${crateName}/${crateVersion}/builds.json`)
0 commit comments