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

chore(scripts): ignore directories with no package jsons #6198

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

siddsriv
Copy link
Contributor

@siddsriv siddsriv commented Jun 14, 2024

Description

This script often throws a Error: Cannot find module for package.json of recently removed clients. This change makes the script continue if the package.json doesn't exist instead of throwing, which was interrupting pre-commit hooks and CI at the least.

Additional context

We were doing a git clean to resolve this, but sometimes that's not desirable.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@siddsriv siddsriv requested a review from a team as a code owner June 14, 2024 15:42
@siddsriv siddsriv merged commit ac4cdb5 into aws:main Jun 14, 2024
5 checks passed
@siddsriv siddsriv deleted the script/ignore-pkg.json branch June 14, 2024 16:15
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 29, 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.

None yet

2 participants