Skip to content

Commit

Permalink
add workaround for yaml bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rucciva committed Sep 19, 2024
1 parent 31c51c4 commit 64214ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/explain.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (c *rawExplainer) explainSQL(ctx context.Context, s config.SQL) error {

err = yaml.NewEncoder(os.Stdout).Encode([]struct {
Name string
Query string
Query string `yaml:",flow"` // https://github.com/go-yaml/yaml/issues/789
Arguments []any
Output interface{}
}{{
Expand Down

0 comments on commit 64214ea

Please sign in to comment.