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

Make bun run --silent omit "error: "..." exited with code 1 #5459

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

This makes --silent work as expected for package.json scripts.

When running:

bun run --silent bash -c 'exit 1'

Before:

error: "bash" exited with code 1

After:

# nothing!

This also makes it so the "extends" warning is a debug log instead of a warning since usually you don't need to take any action and it's noisy.

How did you verify your code works?

Tests

@Jarred-Sumner Jarred-Sumner merged commit 56c471a into main Sep 15, 2023
15 of 20 checks passed
@Jarred-Sumner Jarred-Sumner deleted the jarred/silent branch September 15, 2023 11:21
paperdave pushed a commit to SuperAuguste/bun that referenced this pull request Sep 18, 2023
…-sh#5459)

* Make --silent behave as expected

* Make the "tsconfig.json extends" error a debug level

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
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.

1 participant