Skip to content

Commit

Permalink
Merge pull request #24 from ArsMasiuk/master
Browse files Browse the repository at this point in the history
fix #23
  • Loading branch information
dlidstrom authored Jun 18, 2020
2 parents f8a5fe0 + ea8e28f commit 0409455
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Duplo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,14 @@ void Duplo::Run(const Options& options) {

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

if (options.GetOutputXml()) {
outfile
<< "<?xml version=\"1.0\"?>"
<< std::endl
<< "<duplo>"
<< std::endl;
}

auto lines = LoadFileList(options.GetListFilename());
auto [sourceFiles, matrix, files, locsTotal] =
LoadSourceFiles(lines, options.GetMinChars(), options.GetIgnorePrepStuff());
Expand Down

0 comments on commit 0409455

Please sign in to comment.