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

fix(ulimit): import library only in windows #3738

Conversation

MrCloudSec
Copy link
Member

Description

Import resource library only in Windows.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@MrCloudSec MrCloudSec requested a review from a team April 9, 2024 13:12
Copy link
Member

@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥷 catch!

Copy link

codecov bot commented Apr 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 85.82%. Comparing base (c5514fd) to head (d11fe0c).
Report is 5 commits behind head on master.

Files Patch % Lines
prowler/lib/check/check.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3738      +/-   ##
==========================================
- Coverage   85.82%   85.82%   -0.01%     
==========================================
  Files         722      722              
  Lines       22435    22434       -1     
==========================================
- Hits        19254    19253       -1     
  Misses       3181     3181              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MrCloudSec MrCloudSec merged commit 9c9d270 into master Apr 9, 2024
9 of 11 checks passed
@MrCloudSec MrCloudSec deleted the 3737-bug-prowler-401-modulenotfounderror-no-module-named-resource branch April 9, 2024 13:36
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.

[Bug]: Prowler 4.0.1 - ModuleNotFoundError: No module named 'resource'
2 participants