diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 025f0a44..ff5b4d83 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,21 +6,29 @@ updates: directory: "/" schedule: interval: "weekly" + commit-message: + prefix: "chore" # Maintain dependencies for npm - package-ecosystem: "npm" directory: "/js" schedule: interval: "weekly" + commit-message: + prefix: "chore" # Maintain dependencies for Composer - package-ecosystem: "gomod" directory: "/go" schedule: interval: "weekly" + commit-message: + prefix: "chore" # Maintain dependencies for Composer - package-ecosystem: "cargo" directory: "/rust" schedule: interval: "weekly" + commit-message: + prefix: "chore" diff --git a/go/compress.go b/go/compress.go index 14f3fd81..173e7c87 100644 --- a/go/compress.go +++ b/go/compress.go @@ -95,14 +95,14 @@ func compressStep(step *InnerOp, lookup *[]*InnerOp, registry map[string]int32) } // load from cache if there - if num, ok := registry[string(bz)]; ok { + if num, ok := registry[string(bz)]; ok { return num } // create new step if not there num := int32(len(*lookup)) *lookup = append(*lookup, step) - registry[string(bz)] = num + registry[string(bz)] = num return num }