Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// const manifestRepo: Repository = new AzureDevOpsRepo(config.AZURE_ORG, config.AZURE_PROJECT, config.MANIFEST, config.MANIFEST_ACCESS_TOKEN);
manifestRepo.getManifestSyncState().then((syncCommits: any) => {
this.setState({ manifestSyncStatuses: syncCommits });
});
} else if (config.MANIFEST) {
const manifestRepo: IRepository = new AzureDevOpsRepo(
config.AZURE_ORG,
config.AZURE_PROJECT,
config.MANIFEST,
config.AZURE_PIPELINE_ACCESS_TOKEN
);
manifestRepo.getManifestSyncState().then((syncCommit: any) => {
this.setState({ manifestSyncStatuses: syncCommit });
});
}
Deployment.getDeployments(
config.STORAGE_ACCOUNT_NAME,
config.STORAGE_ACCOUNT_KEY,
config.STORAGE_TABLE_NAME,
config.STORAGE_PARTITION_KEY,
srcPipeline,
hldPipeline,
clusterPipeline,
undefined
).then((deployments: Deployment[]) => {
this.setState({ deployments });
this.setState({ filteredDeployments: this.state.deployments });
this.processQueryParams();
this.updateFilteredDeployments();
this.getAuthors();
if (!this.filterState.defaultApplied) {
this.filter.setFilterItemState("authorFilter", {