From 56b7f76d6c5c7645c96c6bccb6545ff401840434 Mon Sep 17 00:00:00 2001 From: Boshi Lian Date: Wed, 22 Apr 2020 09:09:52 -0700 Subject: [PATCH] path combine instead of string concat (#429) --- gen/KubernetesWatchGenerator/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/KubernetesWatchGenerator/Program.cs b/gen/KubernetesWatchGenerator/Program.cs index 9f516c9..3fc2f4d 100644 --- a/gen/KubernetesWatchGenerator/Program.cs +++ b/gen/KubernetesWatchGenerator/Program.cs @@ -102,8 +102,8 @@ namespace KubernetesWatchGenerator && !blacklistedOperations.Contains(o.Operation.OperationId)).ToArray(); // Render. - Render.FileToFile("IKubernetes.Watch.cs.template", watchOperations, $"{outputDirectory}IKubernetes.Watch.cs"); - Render.FileToFile("Kubernetes.Watch.cs.template", watchOperations, $"{outputDirectory}Kubernetes.Watch.cs"); + Render.FileToFile("IKubernetes.Watch.cs.template", watchOperations, Path.Combine(outputDirectory, "IKubernetes.Watch.cs")); + Render.FileToFile("Kubernetes.Watch.cs.template", watchOperations, Path.Combine(outputDirectory, "Kubernetes.Watch.cs")); // Generate the interface declarations var skippedTypes = new HashSet()