Hans 601f9b38f8 feat(@angular/cli): move angular-cli to @angular/cli (#4328)
This release is otherwise identical to beta.28.
2017-02-01 18:19:50 -08:00

13 lines
195 B
JavaScript

'use strict';
module.exports = function (name) {
var packageParts;
if (!name) {
return null;
}
packageParts = name.split('/');
return packageParts[(packageParts.length - 1)];
};