diff --git a/lib/index.js b/lib/index.js index 4e560ab2..50052d73 100644 --- a/lib/index.js +++ b/lib/index.js @@ -97,7 +97,7 @@ exports.publish = function publish(basePath, config, callback) { }); var repoUrl; - getRepo(options) + return getRepo(options) .then(function(repo) { repoUrl = repo; var clone = options.clone;