Skip to content

Commit

Permalink
fix: add lost file history
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 5, 2021
1 parent 24d6619 commit bd02648
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/visual/output_static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ fn export_reporter<P: AsRef<Path>>(path: &P, project: String) {
let tags = Settings::git().join(format!("{}-tags.json", project));
let _ = fs::copy(tags, &data_dir.join("git-tags.json"));

// file_history
let file_history = Settings::cloc().join(format!("{}-file-history.json", project));
let _ = fs::copy(file_history, &data_dir.join("cloc.json"));

// cloc
let cloc = Settings::cloc().join(format!("{}.json", project));
let _ = fs::copy(cloc, &data_dir.join("cloc.json"));
Expand Down

0 comments on commit bd02648

Please sign in to comment.