diff --git a/src/GenerateReport.ps1 b/src/GenerateReport.ps1 index 2a3436e..519870c 100644 --- a/src/GenerateReport.ps1 +++ b/src/GenerateReport.ps1 @@ -133,6 +133,7 @@ function Get-GitLog{ param($OutFilePath) Write-Verbose "Start collecting Git log" + Add-Type -AssemblyName System.Web $currentLocation = Get-Location Set-Location $CheckoutDir $logentrySeparator = [guid]::NewGuid() @@ -192,4 +193,4 @@ switch($VCS) } Bundle-Report -ClocDataFile "$tmpDir\cloc.csv" -SvnLogFile "$tmpDir\svnlogfile.xml" -OutDataFile "$tmpDir\result.json" -Remove-Item $tmpDir -Recurse -Force \ No newline at end of file +Remove-Item $tmpDir -Recurse -Force