File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
ydb/public/lib/ydb_cli/commands Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -532,7 +532,7 @@ void TCommandExecuteQuery::PrintDataQueryResponse(NTable::TDataQueryResult& resu
532
532
}
533
533
534
534
if (!DiagnosticsFile.empty ()) {
535
- TFileOutput file (DiagnosticsFile + " .json " );
535
+ TFileOutput file (DiagnosticsFile);
536
536
537
537
NJson::TJsonValue diagnosticsJson (NJson::JSON_MAP);
538
538
@@ -817,7 +817,7 @@ bool TCommandExecuteQuery::PrintQueryResponse(TIterator& result) {
817
817
}
818
818
819
819
if (!DiagnosticsFile.empty ()) {
820
- TFileOutput file (TStringBuilder () << DiagnosticsFile << " .json " );
820
+ TFileOutput file (DiagnosticsFile);
821
821
822
822
NJson::TJsonValue diagnosticsJson (NJson::JSON_MAP);
823
823
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ int TCommandSql::PrintResponse(NQuery::TExecuteQueryIterator& result) {
245
245
}
246
246
247
247
if (!DiagnosticsFile.empty ()) {
248
- TFileOutput file (TStringBuilder () << DiagnosticsFile << " .json " );
248
+ TFileOutput file (DiagnosticsFile);
249
249
250
250
NJson::TJsonValue diagnosticsJson (NJson::JSON_MAP);
251
251
You can’t perform that action at this time.
0 commit comments