Skip to content

Commit

Permalink
Release 1.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanzhang Zeng (Roger) committed Nov 17, 2020
1 parent 52a7e67 commit a8d2ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/handlers/parameterValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ class ParameterValidator {
return __awaiter(this, void 0, void 0, function* () {
context.package = new packageUtility_1.Package(this._packagePath);
context.scmCredentials = this._scmCredentials;
context.authenticationType = this._scmCredentials ? authentication_type_1.AuthenticationType.Scm : authentication_type_1.AuthenticationType.Rbac;
context.authenticationType = this._scmCredentials.appUrl ? authentication_type_1.AuthenticationType.Scm : authentication_type_1.AuthenticationType.Rbac;
return context;
});
}
parseScmCredentials(state, publishProfile) {
return __awaiter(this, void 0, void 0, function* () {
let creds = builder_1.Builder.GetDefaultScmCredential();
if (publishProfile === undefined || publishProfile.trim() === "") {
if (publishProfile === undefined || publishProfile === "") {
return creds;
}
let xmlProfile = undefined;
Expand Down

0 comments on commit a8d2ec4

Please sign in to comment.