From d93b0d354a427173ad10f2449d6cfdd0baaa3da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Pi=C4=85tek?= Date: Sun, 6 Nov 2016 13:15:48 +0100 Subject: [PATCH] Update GenerateReport.ps1 Add missing library import --- src/GenerateReport.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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