File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -246,16 +246,16 @@ func handleBuildsCreate(ctx context.Context, cmd *cli.Command) error {
246246 if name , oas , err := convertFileFlag (cmd , "openapi-spec" ); err != nil {
247247 return err
248248 } else if oas != nil {
249- modifyYAML (cmd , "revision" , gjson .Escape ("openapi" + path .Ext (name )), map [string ][] byte {
250- "content" : oas ,
249+ modifyYAML (cmd , "revision" , gjson .Escape ("openapi" + path .Ext (name )), map [string ]string {
250+ "content" : string ( oas ) ,
251251 })
252252 }
253253
254254 if name , config , err := convertFileFlag (cmd , "stainless-config" ); err != nil {
255255 return err
256256 } else if config != nil {
257- modifyYAML (cmd , "revision" , gjson .Escape ("stainless" + path .Ext (name )), map [string ][] byte {
258- "content" : config ,
257+ modifyYAML (cmd , "revision" , gjson .Escape ("stainless" + path .Ext (name )), map [string ]string {
258+ "content" : string ( config ) ,
259259 })
260260 }
261261
You can’t perform that action at this time.
0 commit comments