From 25aa81b92a1a416a0311fcf7592c6ed84064064f Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 8 Jan 2018 19:08:14 +0100 Subject: [PATCH] fixed script order I fixed the order of the script calls, because it did not work on my machine this way. --- Add-Git-Exceptions.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Add-Git-Exceptions.ps1 b/Add-Git-Exceptions.ps1 index 31423a8..f22765a 100644 --- a/Add-Git-Exceptions.ps1 +++ b/Add-Git-Exceptions.ps1 @@ -2,8 +2,6 @@ Param ( [string]$Path ) -AddExceptions(GetGitPath($Path)) - Function GetGitPath { Param ( [Parameter(Mandatory=$true)] @@ -59,3 +57,5 @@ Function AddExceptions { $EXEKeyFullPath.SetValue("MitigationAuditOptions", $MitigationAuditOptions, [Microsoft.Win32.RegistryValueKind]::Binary) } } + +AddExceptions(GetGitPath($Path))