From 711231e72b1029b359392188a329ca9fe5bd678a Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 30 May 2024 23:11:09 +0800 Subject: [PATCH] Fix typos (#389) Found via `typos --format brief` --- lib/lograge/formatters/key_value.rb | 2 +- lib/lograge/formatters/ltsv.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lograge/formatters/key_value.rb b/lib/lograge/formatters/key_value.rb index 73bf013f..0296170b 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 fc393c13..81549ddf 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