Skip to content

Commit

Permalink
fix lint err
Browse files Browse the repository at this point in the history
gertd committed Sep 16, 2024
1 parent 87e5761 commit 1239cdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cmd/convert.go
Original file line number Diff line number Diff line change
@@ -164,7 +164,9 @@ func (cmd *ConvertCmd) persist(_ context.Context, d *api.DecisionAssertions) err
}

var input map[string]any
json.Unmarshal(buf, &input)
if err := json.Unmarshal(buf, &input); err != nil {
return err
}

iter := query.Run(input)
for {

0 comments on commit 1239cdb

Please sign in to comment.