Skip to content

Commit

Permalink
fixed appcenter environment key check
Browse files Browse the repository at this point in the history
  • Loading branch information
mrndjo committed May 28, 2019
1 parent 42232cb commit 5c366cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ci_source/providers/AppCenter.ts
Expand Up @@ -57,7 +57,7 @@ export class AppCenter implements CISource {
get repoSlug(): string {
if (
ensureEnvKeysExist(this.env, ["BUILD_REPOSITORY_NAME"]) &&
ensureEnvKeysExist(this.env, ["BUILD_REPOSITORY_NAME"])
ensureEnvKeysExist(this.env, ["BUILD_REPOSITORY_URI"])
) {
const repositoryName = this.env["BUILD_REPOSITORY_NAME"]
const components = url.parse(this.env["BUILD_REPOSITORY_URI"], false)
Expand Down

0 comments on commit 5c366cc

Please sign in to comment.