diff --git a/src/Kiota.Builder/PathSegmenters/GoPathSegmenter.cs b/src/Kiota.Builder/PathSegmenters/GoPathSegmenter.cs index 9318a6cc25..90306fab87 100644 --- a/src/Kiota.Builder/PathSegmenters/GoPathSegmenter.cs +++ b/src/Kiota.Builder/PathSegmenters/GoPathSegmenter.cs @@ -8,7 +8,7 @@ namespace Kiota.Builder.PathSegmenters; public class GoPathSegmenter : CommonPathSegmenter { - private HashSet specialFileNameSuffixes = new(StringComparer.OrdinalIgnoreCase) { + private static readonly HashSet specialFileNameSuffixes = new(StringComparer.OrdinalIgnoreCase) { "test" , "aix" ,