Skip to content

Commit

Permalink
corrected a lint error in the helper.rb
Browse files Browse the repository at this point in the history
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
johnmccrae committed Mar 4, 2021
1 parent 6afb3f2 commit 7621549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/win32/certstore/mixin/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Certstore
module Mixin
module Helper
# PSCommand to search certificate from thumbprint and either turn it into a pem or return a path to a pfx object
def cert_ps_cmd(thumbprint, store_location: "LocalMachine", export_password: "1234", output_path:"")
def cert_ps_cmd(thumbprint, store_location: "LocalMachine", export_password: "1234", output_path: "")
<<-EOH
$cert = Get-ChildItem Cert:\'#{store_location}' -Recurse | Where { $_.Thumbprint -eq '#{thumbprint}' }
Expand Down

0 comments on commit 7621549

Please sign in to comment.