Skip to content

Commit 7c437c4

Browse files
committed
fix: crash bug when adding a bundle file with no tag
1 parent 010a2e4 commit 7c437c4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [UNRELEASED]
99

10+
### Fixed
11+
12+
- Crash when running `gatecheck bundle add` with no tags
13+
1014
## [0.7.5] - 2024-06-18
1115

1216
### Fixed

cmd/cli-config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var RuntimeConfig = metaConfig{
4545
BundleTag: configkit.MetaField{
4646
FieldName: "BundleTag",
4747
EnvKey: "GATECHECK_BUNDLE_TAG",
48-
DefaultValue: "",
48+
DefaultValue: []string{},
4949
FlagValueP: new([]string),
5050
EnvToValueFunc: func(s string) any {
5151
return strings.Split(s, ",")

0 commit comments

Comments
 (0)