Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Commit

Permalink
fix bower component name resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
robhrt7 committed Jul 17, 2015
1 parent 28bcbd8 commit ae46a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ var install = function(componentEndpoint){
// Get latest installed components name
bower.commands.info(componentEndpoint, undefined, bowerInfoConfig)
.on('end', function (componentInfo) {
var componentName = componentInfo.latest.name;
var componentName = componentInfo.latest && componentInfo.latest.name ? componentInfo.latest.name : componentInfo.name;
payload.componentPathAbsolute = path.join(baseUrl, output.fsPaths[componentName]);

deffered.resolve(payload);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bb-cli",
"version": "0.1.8",
"version": "0.1.9",
"description": "Command line tools for working with Backbase CXP.",
"author": "Backbase",
"licenses": [
Expand Down

0 comments on commit ae46a41

Please sign in to comment.