1 From 77ca537cfc61765f2109c626757f2da8de602ce0 Mon Sep 17 00:00:00 2001
2 From: Randy Eckenrode <randy@largeandhighquality.com>
3 Date: Fri, 5 Apr 2024 23:20:32 -0400
4 Subject: [PATCH 2/3] Pass fileType to writeToStream
7 lib/Core/JSONReaderWriter.cpp | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/tapi/lib/Core/JSONReaderWriter.cpp b/tapi/lib/Core/JSONReaderWriter.cpp
11 index c040670..c1be85f 100644
12 --- a/tapi/lib/Core/JSONReaderWriter.cpp
13 +++ b/tapi/lib/Core/JSONReaderWriter.cpp
14 @@ -57,7 +57,7 @@ Error JSONWriter::writeFile(raw_ostream &os, const InterfaceFile *file,
16 return errorCodeToError(std::make_error_code(std::errc::invalid_argument));
18 - return TextAPIWriter::writeToStream(os, *file, /*Compact=*/false);
19 + return TextAPIWriter::writeToStream(os, *file, fileType, /*Compact=*/false);
22 TAPI_NAMESPACE_INTERNAL_END