Bugfix.
This commit is contained in:
parent
3a6ab2a241
commit
beb3e79c2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user