Skip to content

Commit

Permalink
Merge pull request #91 from johnburns320/master
Browse files Browse the repository at this point in the history
No need to remove the running temp file
  • Loading branch information
ghoneycutt authored Dec 28, 2019
2 parents eb3f2e1 + 7559e0f commit 92b2a7d
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 92b2a7d

Please sign in to comment.