Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shnikd committed Feb 14, 2025
1 parent c0ff915 commit 1eaad6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ydb/public/lib/ydb_cli/commands/ydb_service_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ void TCommandExecuteQuery::PrintDataQueryResponse(NTable::TDataQueryResult& resu
}

if (!DiagnosticsFile.empty()) {
TFileOutput file(DiagnosticsFile + ".json");
TFileOutput file(DiagnosticsFile);

NJson::TJsonValue diagnosticsJson(NJson::JSON_MAP);

Expand Down Expand Up @@ -817,7 +817,7 @@ bool TCommandExecuteQuery::PrintQueryResponse(TIterator& result) {
}

if (!DiagnosticsFile.empty()) {
TFileOutput file(TStringBuilder() << DiagnosticsFile << ".json");
TFileOutput file(DiagnosticsFile);

NJson::TJsonValue diagnosticsJson(NJson::JSON_MAP);

Expand Down
2 changes: 1 addition & 1 deletion ydb/public/lib/ydb_cli/commands/ydb_sql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int TCommandSql::PrintResponse(NQuery::TExecuteQueryIterator& result) {
}

if (!DiagnosticsFile.empty()) {
TFileOutput file(TStringBuilder() << DiagnosticsFile << ".json");
TFileOutput file(DiagnosticsFile);

NJson::TJsonValue diagnosticsJson(NJson::JSON_MAP);

Expand Down

0 comments on commit 1eaad6c

Please sign in to comment.