From beb3e79c2a59f8e6e4e645e7688536cf9af5ba99 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Thu, 21 Nov 2024 17:22:40 -0500 Subject: [PATCH] Bugfix. --- src/ExoRepo/YQ.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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