Skip to content

Commit 02f991d

Browse files
rix0rrrRomainMuller
authored andcommitted
fix(init): update the C# init sample with the new App API (#1919)
The C# jsii bindings don't have optional arguments, so every new optional argument becomes a breaking change.
1 parent a23f46f commit 02f991d

File tree

1 file changed

+1
-1
lines changed
  • packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk

1 file changed

+1
-1
lines changed

packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Program
99
{
1010
static void Main(string[] args)
1111
{
12-
var app = new App();
12+
var app = new App(null);
1313

1414
// A CDK app can contain multiple stacks. You can view a list of all the stacks in your
1515
// app by typing `cdk list`.

0 commit comments

Comments
 (0)