From 080750a705565b4b0629c7f1cf021bc24af09613 Mon Sep 17 00:00:00 2001 From: William French Date: Thu, 12 Sep 2024 14:33:22 -0700 Subject: [PATCH 1/2] fix: Adds non-null assertion operators. --- samples/place-autocomplete-data-session/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/place-autocomplete-data-session/index.ts b/samples/place-autocomplete-data-session/index.ts index ad35b45d97..5a5eee37b7 100644 --- a/samples/place-autocomplete-data-session/index.ts +++ b/samples/place-autocomplete-data-session/index.ts @@ -56,9 +56,9 @@ async function makeAcRequest(input) { // Create a link for the place, add an event handler to fetch the place. const a = document.createElement('a'); a.addEventListener('click', () => { - onPlaceSelected(placePrediction.toPlace()); + onPlaceSelected(placePrediction!.toPlace()); }); - a.innerText = placePrediction.text.toString(); + a.innerText = placePrediction!.text.toString(); // Create a new list element. const li = document.createElement('li'); From 4c992ccd23c4560b8a4deb72d29d0d43c95f8c3d Mon Sep 17 00:00:00 2001 From: William French Date: Thu, 12 Sep 2024 14:37:29 -0700 Subject: [PATCH 2/2] Update e2e.yml movaes actions/upload-artifact to v4 --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b84b08e205..653a59785b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -66,7 +66,7 @@ jobs: env: CI: true - name: Push test report to artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: Test Results