Skip to content

Commit ea8e28f

Browse files
committed
fix #23
1 parent f8a5fe0 commit ea8e28f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Duplo.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,14 @@ void Duplo::Run(const Options& options) {
351351

352352
std::cout << "Loading and hashing files ... " << std::flush;
353353

354+
if (options.GetOutputXml()) {
355+
outfile
356+
<< "<?xml version=\"1.0\"?>"
357+
<< std::endl
358+
<< "<duplo>"
359+
<< std::endl;
360+
}
361+
354362
auto lines = LoadFileList(options.GetListFilename());
355363
auto [sourceFiles, matrix, files, locsTotal] =
356364
LoadSourceFiles(lines, options.GetMinChars(), options.GetIgnorePrepStuff());

0 commit comments

Comments
 (0)