Skip to content

Commit 7559e0f

Browse files
authored
No need to remove the running temp file
1 parent 740cf8c commit 7559e0f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

templates/inspect.ps1.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$is_already_installed = Get-ChildItem -Path cert:\<%= @root_store %>\<%= @store_dir %> -Recurse | select thumbprint | where { $_.thumbprint -eq '<%= @thumbprint %>' }
22

33
if ([string]::IsNullOrEmpty($is_already_installed) -eq $False) {
4-
Remove-Item $MyINvocation.InvocationName
54
exit 1
65
}
76

0 commit comments

Comments
 (0)