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:
|
||||
if levels.len > 0 and levels[levels.high] in
|
||||
[dFlowMapStart, dFlowMapValue]:
|
||||
raise newException(YamlPresenterJsonError,
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"Cannot have sequence as map key in JSON output!")
|
||||
raise newException(YamlPresenterJsonError, "Cannot have sequence as map key in JSON output!")
|
||||
nextState = dFlowSequenceStart
|
||||
of psMinimal, psCanonical: nextState = dFlowSequenceStart
|
||||
of psBlockOnly:
|
||||
|
|
Loading…
Reference in New Issue