Permalink
Browse files

Merge pull request #435 from WindowsAzure/suwatch_regression

fix regression due to ensureRepositoryUri relocation
  • Loading branch information...
2 parents 02899fb + c9fe8db commit 2b96ad00604269b046b2b53240e36b6c8de79ccc @christav christav committed Nov 1, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/cli/commands/repository.js
  2. +2 −2 lib/cli/commands/repository_.js
@@ -47,7 +47,7 @@ exports.init = function(cli) {
site: { name: name } };
- return scm.ensureRepositoryUri(context, __cb(_, __frame, 8, 26, function ___(__0, __1) { repositoryUri = __1; return (function __$__1(__then) {
+ return site.ensureRepositoryUri(context, __cb(_, __frame, 8, 26, function ___(__0, __1) { repositoryUri = __1; return (function __$__1(__then) {
if (repositoryUri) {
return doSettingsSet(context, __cb(_, __frame, 10, 8, __then, true)); } else {
@@ -67,7 +67,7 @@ exports.init = function(cli) {
site: { name: name } };
- return scm.ensureRepositoryUri(context, __cb(_, __frame, 6, 26, function ___(__0, __2) { repositoryUri = __2; return (function __$__2(__then) {
+ return site.ensureRepositoryUri(context, __cb(_, __frame, 6, 26, function ___(__0, __2) { repositoryUri = __2; return (function __$__2(__then) {
if (repositoryUri) { return (function __$__2(_) {
var __1 = !options.quiet; if (!__1) { return _(null, __1); } ; return site.confirm("Delete repository? (y/n) ", __cb(_, __frame, 8, 31, function ___(__0, __3) { var __2 = !__3; return _(null, __2); }, true)); })(__cb(_, __frame, -63, 17, function ___(__0, __3) { return (function __$__2(__then) { if (__3) { return _(null); } else { __then(); } ; })(function __$__2() {
@@ -47,7 +47,7 @@ exports.init = function(cli) {
site: { name: name }
};
- var repositoryUri = scm.ensureRepositoryUri(context, _);
+ var repositoryUri = site.ensureRepositoryUri(context, _);
if (repositoryUri) {
doSettingsSet(context, _);
} else {
@@ -67,7 +67,7 @@ exports.init = function(cli) {
site: { name: name }
};
- var repositoryUri = scm.ensureRepositoryUri(context, _);
+ var repositoryUri = site.ensureRepositoryUri(context, _);
if (repositoryUri) {
if (!options.quiet && !site.confirm('Delete repository? (y/n) ', _)) {
return;

0 comments on commit 2b96ad0

Please sign in to comment.