diff --git a/lib/lograge/formatters/key_value.rb b/lib/lograge/formatters/key_value.rb index 73bf013..0296170 100644 --- a/lib/lograge/formatters/key_value.rb +++ b/lib/lograge/formatters/key_value.rb @@ -21,7 +21,7 @@ def format(key, value) def parse_value(key, value) # Exactly preserve the previous output - # Parsing this can be ambigious if the error messages contains + # Parsing this can be ambiguous if the error messages contains # a single quote return "'#{value}'" if key == :error return Kernel.format('%.2f', value) if value.is_a? Float diff --git a/lib/lograge/formatters/ltsv.rb b/lib/lograge/formatters/ltsv.rb index fc393c1..81549dd 100644 --- a/lib/lograge/formatters/ltsv.rb +++ b/lib/lograge/formatters/ltsv.rb @@ -17,7 +17,7 @@ def fields_to_display(data) def format(key, value) if key == :error # Exactly preserve the previous output - # Parsing this can be ambigious if the error messages contains + # Parsing this can be ambiguous if the error messages contains # a single quote value = "'#{escape value}'" elsif value.is_a? Float