Skip to content

Commit

Permalink
perf: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaaliakbarpour committed Nov 15, 2023
1 parent 74176b1 commit 3ad8730
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions wasmd/templates/initialize/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package initialize

import (
"fmt"

"gopkg.in/yaml.v2"
)

Expand All @@ -26,12 +24,9 @@ type ReplaceItem struct {
func parsePlaceHoldersFromYaml(path string) (Changes, error) {
changes := Changes{}
source, err := placeholders.ReadFile(path)
fmt.Println(path)
if err != nil {
return Changes{}, err
}
fmt.Println(string(source))

if err := yaml.Unmarshal(source, &changes); err != nil {
return Changes{}, err
}
Expand Down

0 comments on commit 3ad8730

Please sign in to comment.