removed empty lines

(probably from nimpretty formatting?)
This commit is contained in:
Kobi 2019-01-24 04:44:21 +02:00 committed by flyx
parent 9226aa4d37
commit 053d5d1333
1 changed files with 1 additions and 8 deletions

View File

@ -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: