From 1e30157a66fd6d7f92eb169c6e07ca41ef0e8e4d Mon Sep 17 00:00:00 2001 From: Lakshmi Narayana Date: Mon, 29 Nov 2021 15:05:01 -0600 Subject: [PATCH] Mapping vcs-type dynamically instead of hardcoding to git Signed-off-by: Lakshmi Narayana --- plugins/circleci/src/state/useBuilds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/circleci/src/state/useBuilds.ts b/plugins/circleci/src/state/useBuilds.ts index a9869644a3..521a55e922 100644 --- a/plugins/circleci/src/state/useBuilds.ts +++ b/plugins/circleci/src/state/useBuilds.ts @@ -162,7 +162,7 @@ export function useBuilds() { vcs: { owner: owner, repo: repo, - type: GitType.GITHUB, + type: mapVcsType(vcs), }, }); } catch (e) {