From 5c366cc406e9ba4106c4faf005feffdcb3e0355b Mon Sep 17 00:00:00 2001 From: mrndjo Date: Tue, 28 May 2019 16:41:01 +0200 Subject: [PATCH] fixed appcenter environment key check --- source/ci_source/providers/AppCenter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ci_source/providers/AppCenter.ts b/source/ci_source/providers/AppCenter.ts index 6f71cda5b..13a3705c5 100644 --- a/source/ci_source/providers/AppCenter.ts +++ b/source/ci_source/providers/AppCenter.ts @@ -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)