Bladeren bron

moved git2json code

Schultz 8 jaren geleden
bovenliggende
commit
457b580a86
1 gewijzigde bestanden met toevoegingen van 5 en 2 verwijderingen
  1. 5
    2
      gitstats

+ 5
- 2
gitstats Bestand weergeven

@@ -1306,8 +1306,7 @@ class HTMLReportCreator(ReportCreator):
1306 1306
         f.close()
1307 1307
 
1308 1308
 
1309
-        # execute git2json for top files
1310
-        os.system("git2json | ~"+os.path.abspath(args[-1])+"/top_committed_files.json")
1309
+        
1311 1310
 
1312 1311
 
1313 1312
 
@@ -1582,6 +1581,10 @@ class GitStats:
1582 1581
             sys.exit(0)
1583 1582
 
1584 1583
         outputpath = os.path.abspath(args[-1])
1584
+
1585
+        # execute git2json for top files
1586
+        os.system("git2json | ~"+os.path.abspath(args[-1])+"/top_committed_files.json")
1587
+        
1585 1588
         rundir = os.getcwd()
1586 1589
 
1587 1590
         try: