-
Notifications
You must be signed in to change notification settings - Fork 28
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
WIP: add optional argument to specify which modules to patch #65
base: main
Are you sure you want to change the base?
Conversation
could we add some unit tests to verify the functionality? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why an env var vs passing the config in as a parameter to createHook
? An env var seems a bit clumsy. 🤔
If we pass in module list as a parameter to |
Add the option to specify a list of modules to patch through env var MODULES_TO_PATCH. This allows IITM to ignore some files, potentially resulting in a performance gain. This also might help eliminating IITM errors since less files are being patched.
If MODULES_TO_PATCH is not specified, everything behaves as usual.