From 4ebe5da079a8347e60a2e6294f37c6380e2d24c8 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 09:57:32 -0500 Subject: [PATCH 1/2] chore: update cloud-rad version to ^0.4.0 (#1310) Source-Link: https://github.com/googleapis/synthtool/commit/1063ef32bfe41b112bade7a2dfad4e84d0058ebd Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:e92044720ab3cb6984a70b0c6001081204375959ba3599ef6c42dd99a7783a67 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/release/docs-devsite.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 40b49d2b..638efabf 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest - digest: sha256:abc68a9bbf4fa808b25fa16d3b11141059dc757dbc34f024744bba36c200b40f -# created: 2023-10-04T20:56:40.710775365Z + digest: sha256:e92044720ab3cb6984a70b0c6001081204375959ba3599ef6c42dd99a7783a67 +# created: 2023-11-10T00:24:05.581078808Z diff --git a/.kokoro/release/docs-devsite.sh b/.kokoro/release/docs-devsite.sh index 3596c1e4..81a89f6c 100755 --- a/.kokoro/release/docs-devsite.sh +++ b/.kokoro/release/docs-devsite.sh @@ -25,6 +25,6 @@ if [[ -z "$CREDENTIALS" ]]; then fi npm install -npm install --no-save @google-cloud/cloud-rad@^0.3.7 +npm install --no-save @google-cloud/cloud-rad@^0.4.0 # publish docs to devsite npx @google-cloud/cloud-rad . cloud-rad From 5e3e54047149eb2697932398d1c480d72d8ef377 Mon Sep 17 00:00:00 2001 From: Alvaro Viebrantz Date: Wed, 17 Jan 2024 12:22:17 -0400 Subject: [PATCH 2/2] ci: fix lint issue when casting error (#1324) --- src/bigquery.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/bigquery.ts b/src/bigquery.ts index d054d9d6..411897ce 100644 --- a/src/bigquery.ts +++ b/src/bigquery.ts @@ -2331,11 +2331,9 @@ export class BigQueryInt extends Number { try { return this.typeCastFunction!(this.value); } catch (error) { - ( - error as Error - ).message = `integerTypeCastFunction threw an error:\n\n - ${ - (error as Error).message - }`; + if (error instanceof Error) { + error.message = `integerTypeCastFunction threw an error:\n\n - ${error.message}`; + } throw error; } } else {