Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #435 from WindowsAzure/suwatch_regression

fix regression due to ensureRepositoryUri relocation
  • Loading branch information...
commit 2b96ad00604269b046b2b53240e36b6c8de79ccc 2 parents 02899fb + c9fe8db
@christav christav authored
View
4 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() {
View
4 lib/cli/commands/repository_.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.