From 76215492c069146c115883067f9507d53982f571 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 4 Mar 2021 14:59:56 -0800 Subject: [PATCH] corrected a lint error in the helper.rb Signed-off-by: John McCrae --- lib/win32/certstore/mixin/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/win32/certstore/mixin/helper.rb b/lib/win32/certstore/mixin/helper.rb index 1f69d75..e34e4e3 100644 --- a/lib/win32/certstore/mixin/helper.rb +++ b/lib/win32/certstore/mixin/helper.rb @@ -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}' }