Skip to content

Commit

Permalink
fix SA1413 Use trailing comma in multi-line initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyagusev committed Feb 10, 2022
1 parent 8bdb8c4 commit b17a900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BookFx/Cores/BoxCoreExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ box.Type switch
BoxType.Col => col(box),
BoxType.Stack => stack(box),
BoxType.Proto => proto(box),
_ => throw new InvalidOperationException()
_ => throw new InvalidOperationException(),
};

[Pure]
Expand Down
2 changes: 1 addition & 1 deletion src/BookFx/TrackSize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ _mode switch
Mode.None => none(),
Mode.Some => some(_value),
Mode.Fit => fit(),
_ => throw new InvalidOperationException()
_ => throw new InvalidOperationException(),
};

/// <summary>
Expand Down

0 comments on commit b17a900

Please sign in to comment.