Skip to content

Commit

Permalink
Merge pull request #103 from andyroyle/publish-callback
Browse files Browse the repository at this point in the history
publish step has an optional callback
  • Loading branch information
matteofigus committed Sep 7, 2015
2 parents 175b616 + 4abb68a commit c6c313d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/facade/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function(dependencies){
local = dependencies.local,
logger = dependencies.logger;

return function(opts){
return function(opts, reallyDoneThisTime){

var componentPath = opts.componentPath,
packageDir = path.resolve(componentPath, '_package'),
Expand Down Expand Up @@ -107,7 +107,7 @@ module.exports = function(dependencies){
componentRoute = format('{0}/{1}/{2}', registryNormalised, component.name, component.version);

putComponentToRegistry({ route: componentRoute, path: compressedPackagePath}, done);
}, function(err){});
}, reallyDoneThisTime);
});
});
};
Expand Down

0 comments on commit c6c313d

Please sign in to comment.