mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
[skip ci] Update coverage.yml to work with lcov2.0
This commit is contained in:
@@ -261,11 +261,14 @@ std::vector<std::string> generate_csv_data(const std::vector<field>& data,
|
||||
const std::string& file_name) {
|
||||
std::ofstream out{file_name, std::ios_base::app};
|
||||
std::string line;
|
||||
|
||||
// TODO remove new line at eof randomly
|
||||
for (size_t i = 0; i < data.size(); ++i) {
|
||||
line += data[i];
|
||||
if (i != data.size() - 1) {
|
||||
line += delim;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
out << line << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user