Skip to content

Commit d57cf91

Browse files
committed
Fix null/todict problem
1 parent 744900b commit d57cf91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SIL.Machine/PunctuationAnalysis/ParatextProjectQuoteConventionDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public QuoteConventionAnalysis GetQuoteConventionAnalysis(
3535
{
3636
return GetQuoteConventionAnalysis(
3737
handler,
38-
includeChapters.ToDictionary(kvp => Canon.BookIdToNumber(kvp.Key), kvp => kvp.Value) ?? null
38+
includeChapters?.ToDictionary(kvp => Canon.BookIdToNumber(kvp.Key), kvp => kvp.Value)
3939
);
4040
}
4141

0 commit comments

Comments
 (0)