This PR is a minor change that is inconsistent with the rest of the codebase. While it may be better a slightly better practice to use const in this case, I will update the codebase wholesale in a single commit rather than merge individual PRs that result in inconsistent coding styles.
Additionally, i believe the title is inaccurate since this is affecting the mutability of the required module and not the scope.
This PR is a minor change that is inconsistent with the rest of the codebase. While it may be better a slightly better practice to use const in this case, I will update the codebase wholesale in a single commit rather than merge individual PRs that result in inconsistent coding styles.
Additionally, i believe the title is inaccurate since this is affecting the mutability of the required module and not the scope.