Skip to content

Commit

Permalink
Add missing full stop.
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeApophis committed Aug 21, 2023
1 parent 7e90982 commit 88d08a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Funcky.Money/Bank/DefaultBank.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private DefaultBank()
public decimal ExchangeRate(Currency source, Currency target)
=> ExchangeRates
.GetValueOrNone(key: (source, target))
.GetOrElse(() => throw new MissingExchangeRateException($"No exchange rate for {source.AlphabeticCurrencyCode} => {target.AlphabeticCurrencyCode}"));
.GetOrElse(() => throw new MissingExchangeRateException($"No exchange rate for {source.AlphabeticCurrencyCode} => {target.AlphabeticCurrencyCode}."));

internal DefaultBank AddExchangeRate(Currency source, Currency target, decimal sellRate)
=> new(ExchangeRates.Add((source, target), sellRate));
Expand Down

0 comments on commit 88d08a3

Please sign in to comment.