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

🐛 use short windows computer info command as fallback always #4760

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

imilchev
Copy link
Member

The error message about the command length doesn't need to be in English. It can be in any other language Windows supports, therefore checking explicitly the error text is not a feasible approach to capture all command length errors.

This PR changes the behaviour so we always use the short command as a fallback to any type of error

Signed-off-by: Ivan Milchev <ivan@mondoo.com>
Copy link
Contributor

Test Results

3 116 tests  ±0   3 115 ✅ ±0   1m 35s ⏱️ +16s
  371 suites ±0       1 💤 ±0 
   28 files   ±0       0 ❌ ±0 

Results for commit b3e29a7. ± Comparison against base commit 01037b5.

@imilchev imilchev merged commit 8dfa3da into main Oct 16, 2024
15 checks passed
@imilchev imilchev deleted the ivan/windows-computer-info-2 branch October 16, 2024 15:24
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants