Skip to content

Commit

Permalink
chore: fix build by updating snapshots (#5082)
Browse files Browse the repository at this point in the history
*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
eladb authored Nov 28, 2023
1 parent 5d40500 commit a98d1ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ let queue = new cloud.Queue();
let counter = new cloud.Counter();
let bucket = new cloud.Bucket();

queue.setConsumer(inflight (msg) => {
queue.setConsumer(inflight (message) => {
let i = counter.inc();
bucket.put("file-{i}.txt", msg);
bucket.put("file-{i}.txt", message);
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class $Root extends $stdlib.std.Resource {
`;
}
_supportedOps() {
return ["$inflight_init"];
return [...super._supportedOps(), "$inflight_init"];
}
}
const baz = new Baz(this, "Baz");
Expand Down

0 comments on commit a98d1ad

Please sign in to comment.