Skip to content

Commit

Permalink
No need to remove the running temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
johnburns320 authored Apr 9, 2019
1 parent 740cf8c commit 7559e0f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/inspect.ps1.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$is_already_installed = Get-ChildItem -Path cert:\<%= @root_store %>\<%= @store_dir %> -Recurse | select thumbprint | where { $_.thumbprint -eq '<%= @thumbprint %>' }

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

Expand Down

0 comments on commit 7559e0f

Please sign in to comment.