Skip to content

Commit 9c85c32

Browse files
committed
hotfix: json output parser (critical)
1 parent 8bb6a4c commit 9c85c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/units/shell/common/parsers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func (u *Unit) JSONOutputParser(in string, out *project.UnitLinksT) error {
1919
}
2020
outTmp := make(map[string]interface{})
2121

22-
err := utils.JSONDecode([]byte(in), outTmp)
22+
err := utils.JSONDecode([]byte(in), &outTmp)
2323
if err != nil {
2424
return err
2525
}

0 commit comments

Comments
 (0)