Shorten dependencies in info

This commit is contained in:
Daniel Odendahl Jr
2018-09-20 17:11:21 +00:00
parent fabf577ed8
commit 78c51d5898
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ module.exports = class InfoCommand extends Command {
const repo = dep[1].replace('github:', '').split('/');
return `[${dep[0]}](https://github.com/${repo[0]}/${repo[1].replace(/#.+/, '')})`;
}
return `[${dep[0]}](https://www.npmjs.com/package/${dep[0]})`;
return `[${dep[0]}](https://npmjs.com/${dep[0]})`;
}).join(', ');
}
};