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

Restructured node_modules license and package.json Validation Logic #7271

Merged
merged 1 commit into from
May 5, 2024

Conversation

Achal1607
Copy link
Collaborator

This pull request addresses issues encountered with the prepareModules class's validation of licenses and package.json files. Presently, the function only scans the top-level directory, leading to occasional false error reports. Additionally, whenever a new dependency is introduced, it necessitates separate handling due to the potential presence of subdirectories containing relevant package.json and license information.

To enhance generalization and streamline the process of adding new dependencies, the code has been refactored accordingly.

@matthiasblaesing matthiasblaesing added license VSCode Extension [ci] enable VSCode Extension tests labels May 4, 2024
@matthiasblaesing matthiasblaesing added this to the NB23 milestone May 4, 2024
@apache apache locked and limited conversation to collaborators May 4, 2024
@apache apache unlocked this conversation May 4, 2024
@matthiasblaesing
Copy link
Contributor

Looks good to me. Thank you.

@matthiasblaesing matthiasblaesing merged commit 668bca2 into apache:master May 5, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
license VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants