aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
3.05k stars 574 forks source link

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

Closed siddsriv closed 3 months ago

siddsriv commented 3 months ago

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.

github-actions[bot] commented 3 months ago

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.