We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a5a35 commit def8ac1Copy full SHA for def8ac1
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