From 4ea5138f113cabeddd80cbd0e9d8685389fe094c Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Fri, 1 Mar 2019 14:29:50 +0100 Subject: [PATCH] fix(init): update the C# init sample with the new `App` API The C# jsii bindings don't have optional arguments, so every new optional argument becomes a breaking change. --- .../lib/init-templates/app/csharp/src/HelloCdk/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs index 7f65982c20c98..0634339851284 100644 --- a/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs +++ b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - var app = new App(); + var app = new App(null); // A CDK app can contain multiple stacks. You can view a list of all the stacks in your // app by typing `cdk list`.