Skip to content

Commit

Permalink
Fix tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
pbazydlo committed Mar 9, 2017
1 parent b2e61e6 commit 5f6b306
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/registry/routes/component-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ function componentInfo(err, req, res, component) {

module.exports = function(conf, repository){
return function(req, res){

repository.getComponent(req.params.componentName, req.params.componentVersion, function(localRegistryError, localComponent){

if(localRegistryError && conf.fallbackRegistryUrl) {
return getComponentFallback.getComponentInfo(conf, req, res, localRegistryError, function(error, component){
componentInfo(error, req, res, component);
Expand Down

0 comments on commit 5f6b306

Please sign in to comment.