Skip to content

When running rustfmt don't error if stderr is non-empty#363

Open
nicklaswj wants to merge 2 commits into
planus-org:mainfrom
nicklaswj:rustfmt-stderr
Open

When running rustfmt don't error if stderr is non-empty#363
nicklaswj wants to merge 2 commits into
planus-org:mainfrom
nicklaswj:rustfmt-stderr

Conversation

@nicklaswj

Copy link
Copy Markdown

Currently planus fails if rustfmt prints to stderr, even if the call succeeds (meaning warnings are treated as an error).
With this PR planus will print rustfmt's stderr if it's non-empty, but only fail if the call to rustfmt fails.

Checklist

  • [ x ] Updated CHANGELOG.md with relevant changes
  • Added tests for any new/fixed functionality
  • Added/updated documentation for new/changed code
  • Checked that README.md still makes sense (and updated it if necessary)

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