Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the -Force command to ensure proper searches #96

Merged
merged 1 commit into from
May 17, 2022

Conversation

johnmccrae
Copy link
Contributor

Signed-off-by: John McCrae [email protected]

Description

We were searching for items in the Certificate store and Get-Childitem was doing a lazy search. The net effect was that downstream testing in the windows_certificate_spec.rb was failing because the rapid number of adds/removes to the cert store was not being caught by existing Get-ChildItem command. Adding the -Force switch forced it to actively search and thus return all the files we knew were there.

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]

Check List

@johnmccrae johnmccrae requested review from a team as code owners May 17, 2022 13:30
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@PrajaktaPurohit PrajaktaPurohit merged commit 34aacec into main May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants