From 498b0d475ef846e3df854cc57f60d20fda4eb3aa Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 27 May 2021 23:03:28 +0000 Subject: [PATCH] fix: make `generate_index_ts()` deterministic (#1104) Fixes https://github.com/googleapis/synthtool/issues/1103 Source-Link: https://github.com/googleapis/synthtool/commit/c3e41da0fa256ad7f6b4bc76b9d069dedecdfef4 Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:e37a815333a6f3e14d8532efe90cba8aa0d34210f8c0fdbdd9e6a34dcbe51e96 --- .github/.OwlBot.lock.yaml | 2 +- src/index.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 043a6066..4b151b1f 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-nodejs:latest - digest: sha256:f4734af778c3d0eb58a6db0078907a87f2e53f3c7a6422363fc37ee52e02b25a + digest: sha256:e37a815333a6f3e14d8532efe90cba8aa0d34210f8c0fdbdd9e6a34dcbe51e96 diff --git a/src/index.ts b/src/index.ts index 6eabddb7..fc2b6f63 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,22 +16,22 @@ // ** https://github.com/googleapis/synthtool ** // ** All changes to this file may be overwritten. ** +import * as v1 from './v1'; +import * as v1p1beta1 from './v1p1beta1'; +import * as v1p2beta1 from './v1p2beta1'; import * as v1p4beta1 from './v1p4beta1'; import * as v1p5beta1 from './v1p5beta1'; -import * as v1p2beta1 from './v1p2beta1'; -import * as v1p1beta1 from './v1p1beta1'; -import * as v1 from './v1'; const AssetServiceClient = v1.AssetServiceClient; type AssetServiceClient = v1.AssetServiceClient; -export {v1p4beta1, v1p5beta1, v1p2beta1, v1p1beta1, v1, AssetServiceClient}; +export {v1, v1p1beta1, v1p2beta1, v1p4beta1, v1p5beta1, AssetServiceClient}; export default { + v1, + v1p1beta1, + v1p2beta1, v1p4beta1, v1p5beta1, - v1p2beta1, - v1p1beta1, - v1, AssetServiceClient, }; import * as protos from '../protos/protos';