From 1c8fe8927e4eabc934ca50e48d7c74cda8749891 Mon Sep 17 00:00:00 2001 From: oguzhankoral Date: Wed, 13 Nov 2024 09:25:49 +0000 Subject: [PATCH] Fix typo --- SpeckleAutomateDotnetExample/AutomateFunction.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpeckleAutomateDotnetExample/AutomateFunction.cs b/SpeckleAutomateDotnetExample/AutomateFunction.cs index 9661cbc..94eb66a 100644 --- a/SpeckleAutomateDotnetExample/AutomateFunction.cs +++ b/SpeckleAutomateDotnetExample/AutomateFunction.cs @@ -75,12 +75,12 @@ IEnumerable failedObjects if (failedObject.UValue == 0) { message = - $"{speckleTypeString[..^1]} has no any material that have thermal properties."; + $"{speckleTypeString} has no any material that have thermal properties."; } else { message = - $"{speckleTypeString[..^1]} expected to have maximum {failedObject.ExpectedUValue} U-value but it is {failedObject.UValue}."; + $"{speckleTypeString} expected to have maximum {failedObject.ExpectedUValue} U-value but it is {failedObject.UValue}."; } automationContext.AttachResultToObjects(