Skip to content

Commit

Permalink
git config minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ironoa authored Dec 27, 2024
1 parent 3104b5c commit 6028f6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/polkadot-k8s-payouts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: Polkadot K8s Payouts
name: polkadot-k8s-payouts
version: v1.3.1
appVersion: v1.3.1
version: v1.3.2
appVersion: v1.3.2
apiVersion: v2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkadot-payouts",
"version": "1.3.1",
"version": "1.3.2",
"description": "Automated transfers among accounts",
"repository": "git@github.com:w3f/accountant.git",
"author": "W3F Infrastructure Team <devops@web3.foundation>",
Expand Down
5 changes: 3 additions & 2 deletions src/gitConfigLoader/gitConfigLoaderFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ export class GitConfigLoaderFactory {
makeGitConfigLoaders = (): Array<GitConfigLoader> => {

const gitConfig = this.cfg.targetsFromGit
const version = gitConfig.configVersion ? gitConfig.configVersion : GitConfigVersion.V1


if(!gitConfig?.enabled)
return [new Disabled()]

const version = gitConfig?.configVersion ? gitConfig.configVersion : GitConfigVersion.V1

const result: Array<GitConfigLoader> = []
for (const target of gitConfig.targets) {
switch (target.platform.toLowerCase()) {
Expand Down

0 comments on commit 6028f6b

Please sign in to comment.