mirror of https://github.com/status-im/NimYAML.git
removed empty lines
(probably from nimpretty formatting?)
This commit is contained in:
parent
9226aa4d37
commit
053d5d1333
|
@ -550,14 +550,7 @@ proc doPresent(s: var YamlStream, target: PresenterTarget,
|
||||||
of psJson:
|
of psJson:
|
||||||
if levels.len > 0 and levels[levels.high] in
|
if levels.len > 0 and levels[levels.high] in
|
||||||
[dFlowMapStart, dFlowMapValue]:
|
[dFlowMapStart, dFlowMapValue]:
|
||||||
raise newException(YamlPresenterJsonError,
|
raise newException(YamlPresenterJsonError, "Cannot have sequence as map key in JSON output!")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"Cannot have sequence as map key in JSON output!")
|
|
||||||
nextState = dFlowSequenceStart
|
nextState = dFlowSequenceStart
|
||||||
of psMinimal, psCanonical: nextState = dFlowSequenceStart
|
of psMinimal, psCanonical: nextState = dFlowSequenceStart
|
||||||
of psBlockOnly:
|
of psBlockOnly:
|
||||||
|
|
Loading…
Reference in New Issue