From 81fa54b72fcffbd34dcc10e4afd4a7193ec65972 Mon Sep 17 00:00:00 2001 From: Michael Rebello Date: Fri, 11 Aug 2023 13:40:03 -0400 Subject: [PATCH] Prefer array syntax in yaml files --- Examples/buf.gen.yaml | 6 +++--- Tests/ConnectLibraryTests/buf.gen.yaml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Examples/buf.gen.yaml b/Examples/buf.gen.yaml index ce0f6787..f537384d 100644 --- a/Examples/buf.gen.yaml +++ b/Examples/buf.gen.yaml @@ -4,8 +4,8 @@ plugins: opt: Visibility=Internal out: ./ElizaSharedSources/GeneratedSources - name: connect-swift - opt: > - GenerateServiceMetadata=false, - Visibility=Internal + opt: + - GenerateServiceMetadata=false + - Visibility=Internal out: ./ElizaSharedSources/GeneratedSources path: ../.tmp/bin/protoc-gen-connect-swift diff --git a/Tests/ConnectLibraryTests/buf.gen.yaml b/Tests/ConnectLibraryTests/buf.gen.yaml index 61143a5c..297b6ab0 100644 --- a/Tests/ConnectLibraryTests/buf.gen.yaml +++ b/Tests/ConnectLibraryTests/buf.gen.yaml @@ -4,16 +4,16 @@ plugins: opt: Visibility=Internal out: ./Generated - name: connect-swift - opt: > - GenerateAsyncMethods=true, - GenerateCallbackMethods=true, - Visibility=Internal + opt: + - GenerateAsyncMethods=true + - GenerateCallbackMethods=true + - Visibility=Internal out: ./Generated path: ../../.tmp/bin/protoc-gen-connect-swift - name: connect-swift-mocks - opt: > - GenerateAsyncMethods=true, - GenerateCallbackMethods=true, - Visibility=Internal + opt: + - GenerateAsyncMethods=true + - GenerateCallbackMethods=true + - Visibility=Internal out: ./Generated path: ../../.tmp/bin/protoc-gen-connect-swift-mocks