Mapping vcs-type dynamically instead of hardcoding to git
Signed-off-by: Lakshmi Narayana <lakshminarayana.dasari@grainger.com>
This commit is contained in:
@@ -162,7 +162,7 @@ export function useBuilds() {
|
||||
vcs: {
|
||||
owner: owner,
|
||||
repo: repo,
|
||||
type: GitType.GITHUB,
|
||||
type: mapVcsType(vcs),
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user