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.
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.
Description
This script often throws a
Error: Cannot find module
forpackage.json
of recently removed clients. This change makes the script continue if thepackage.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.