Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/@aws-cdk/toolkit-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import * as core from 'aws-cdk-lib/core';

declare const cdk: Toolkit;

const cx = cdk.fromAssemblyBuilder(async () => {
const cx = await cdk.fromAssemblyBuilder(async () => {
const app = new core.App();

// Define your stacks here
Expand Down Expand Up @@ -321,7 +321,7 @@ Alternatively a inline `AssemblyBuilder` function can be used to build a CDK app
```ts
declare const cdk: Toolkit;

const cx = cdk.fromAssemblyBuilder(async () => {
const cx = await cdk.fromAssemblyBuilder(async () => {
const app = new core.App();

// Define your stacks here
Expand Down
Loading