Marshal JSON of package without escapes

Otherwise >, < get escaped as JSON does that in favour of browsers
This commit is contained in:
Ettore Di Giacinto
2019-11-29 19:01:50 +01:00
parent fa46601638
commit 4031a4ae81
3 changed files with 51 additions and 11 deletions

View File

@@ -354,7 +354,6 @@ func (cs *LuetCompiler) ComputeDepTree(p CompilationSpec) (solver.PackagesAssert
for _, assertion := range dependencies { //highly dependent on the order
if assertion.Value {
nthsolution, err := s.Install([]pkg.Package{assertion.Package})
if err != nil {
return nil, errors.Wrap(err, "While computing a solution for "+p.GetPackage().GetName())