Skip to content

Commit

Permalink
fix(build): pretty print conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
ngjaying committed May 26, 2021
1 parent 25e0733 commit 929eadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/docker/conf_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func main() {
if bs, err := yaml.Marshal(v); err != nil {
fmt.Println(err)
} else {
message := fmt.Sprintf("-------------------\nConf file %s: \n %s", f, printable(v))
message := fmt.Sprintf("-------------------\nConf file %s: \n %s", f, toPrintableString(v))
fmt.Println(message)
if fname, ok := fileMap[f]; ok {
if e := ioutil.WriteFile(fname, bs, 0644); e != nil {
Expand Down

0 comments on commit 929eadb

Please sign in to comment.