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

fix: generators that console log should be captured and redirected to logfile #282

Merged
merged 4 commits into from
Aug 28, 2024

Conversation

cpendery
Copy link
Member

As seen in autocomplete/pre-commit.ts, some generators have console.log & console.error. This PR captures those methods and redirects them to the logfile so those failures aren't bubbled up into the UI

Fixes #280

Signed-off-by: Chapman Pendery <[email protected]>
Signed-off-by: Chapman Pendery <[email protected]>
Signed-off-by: Chapman Pendery <[email protected]>
@cpendery cpendery merged commit e032c48 into main Aug 28, 2024
10 checks passed
@cpendery cpendery deleted the fix/generator-console-logs branch August 28, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pre-commit run: TypeError: Cannot read properties of null (reading 'repos')
1 participant