diff --git a/src/ExoRepo/YQ.class.st b/src/ExoRepo/YQ.class.st index a06d174..c4478aa 100644 --- a/src/ExoRepo/YQ.class.st +++ b/src/ExoRepo/YQ.class.st @@ -41,7 +41,7 @@ YQ class >> install [ YQ class >> jsonToYaml: aDictionary [ | jsonFile | self binaryFile exists ifFalse: [ YQ install]. - jsonFile := MarkupFile exportAsFileOn: FileLocator temp / 'data.json' containing: aDictionary. + jsonFile := MarkupFile exportAsFileOn: FileLocator temp / 'data.json' containing: (NeoJSONWriter toStringPretty: aDictionary). Smalltalk os isWindows ifTrue: [ ^ LibC resultOfCommand: 'yq -p=json ', jsonFile fullName ]. ^ GtSubprocessWithInMemoryOutput new