From 6dc64ee9284cf78e80ba2951f96c43818f65f14f Mon Sep 17 00:00:00 2001 From: Michael Conrad Date: Sat, 15 Feb 2020 16:57:10 -0500 Subject: [PATCH] Fix: Use the correct variable in the File Encoding error message. --- src/JUnit.Xml.TestLogger/JUnitXmlTestLogger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JUnit.Xml.TestLogger/JUnitXmlTestLogger.cs b/src/JUnit.Xml.TestLogger/JUnitXmlTestLogger.cs index 45b2fed..e8158c7 100644 --- a/src/JUnit.Xml.TestLogger/JUnitXmlTestLogger.cs +++ b/src/JUnit.Xml.TestLogger/JUnitXmlTestLogger.cs @@ -235,7 +235,7 @@ public void Initialize(TestLoggerEvents events, Dictionary param } else { - Console.WriteLine($"JunitXML Logger: The provided File Encoding '{failureFormat}' is not a recognized option. Using default"); + Console.WriteLine($"JunitXML Logger: The provided File Encoding '{fileEncoding}' is not a recognized option. Using default"); } } }