Skip to content

Commit 56b7f76

Browse files
authored
path combine instead of string concat (#429)
1 parent 7326530 commit 56b7f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gen/KubernetesWatchGenerator/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ static async Task Main(string[] args)
102102
&& !blacklistedOperations.Contains(o.Operation.OperationId)).ToArray();
103103

104104
// Render.
105-
Render.FileToFile("IKubernetes.Watch.cs.template", watchOperations, $"{outputDirectory}IKubernetes.Watch.cs");
106-
Render.FileToFile("Kubernetes.Watch.cs.template", watchOperations, $"{outputDirectory}Kubernetes.Watch.cs");
105+
Render.FileToFile("IKubernetes.Watch.cs.template", watchOperations, Path.Combine(outputDirectory, "IKubernetes.Watch.cs"));
106+
Render.FileToFile("Kubernetes.Watch.cs.template", watchOperations, Path.Combine(outputDirectory, "Kubernetes.Watch.cs"));
107107

108108
// Generate the interface declarations
109109
var skippedTypes = new HashSet<string>()

0 commit comments

Comments
 (0)