Skip to content

Commit ea961e6

Browse files
committed
format
1 parent 3fa6a22 commit ea961e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Elastic.Markdown/Myst/CodeBlocks/EnhancedCodeBlockParser.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ public override bool Close(BlockProcessor processor, Block block)
131131

132132
var callouts = codeBlock.CallOuts.Aggregate(new Dictionary<int, CallOut>(), (acc, curr) =>
133133
{
134-
if (acc.TryAdd(curr.Line, curr)) return acc;
134+
if (acc.TryAdd(curr.Line, curr))
135+
return acc;
135136
if (acc[curr.Line].SliceStart > curr.SliceStart)
136137
acc[curr.Line] = curr;
137138
return acc;

0 commit comments

Comments
 (0)