Skip to content

Commit

Permalink
Fix: Env Name
Browse files Browse the repository at this point in the history
- Environment fails to build if it contains double quotes
  • Loading branch information
ahmedhesham6 authored and kajogo777 committed Nov 9, 2023
1 parent 2c1636a commit 84bde05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stackbuilder/stackbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewEnvironments(value cue.Value) (Environments, error) {
}

for envIter.Next() {
name := utils.GetLastPathFragment(envIter.Value())
name := strings.Trim(utils.GetLastPathFragment(envIter.Value()), "\"")
environments[name], err = NewStackBuilder(name, envIter.Value())
if err != nil {
return environments, err
Expand Down

0 comments on commit 84bde05

Please sign in to comment.