Skip to content

Commit 4962e6a

Browse files
committed
update
1 parent 484593a commit 4962e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cli/internal/cli/split/split.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (o *Opts) saveVersionedOas(oas *openapi3.T, version string) error {
9191
}
9292

9393
path = strings.Replace(path, "."+o.format, fmt.Sprintf("-%s.%s", version, o.format), 1)
94-
return openapi.Save(path, oas, o.format, o.fs)
94+
return openapi.SaveToFile(path, o.format, oas, o.fs)
9595
}
9696

9797
func (o *Opts) PreRunE(_ []string) error {

0 commit comments

Comments
 (0)