From a98d1ad7ca48bd405cdc1338ca2456d1bd15ed73 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Tue, 28 Nov 2023 17:14:52 +0200 Subject: [PATCH] chore: fix build by updating snapshots (#5082) *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)*. --- README.md | 4 ++-- .../valid/inheritance_interface.test.w_compile_tf-aws.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8452eaaebb3..f7801ac32e2 100644 --- a/README.md +++ b/README.md @@ -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); }); ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md index a6d88b95007..84203d662be 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md @@ -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");