You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- 👋 Hi, thanks for sending a PR to template-typescript-node-package!
💖.
Please fill out all fields below and make sure each item is true and [x]
checked.
Otherwise we may not be able to review your PR. -->
## PR Checklist
- [x] Addresses an existing open issue: fixes#401
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md)
were taken
## Overview
Fail gracefully for branch protection settings for private repos
(non-Pro).
- Added `warnText` field to the "withSpinner" options
- `withSpinner` will now store its callback return value, and will show
`warnText` in case the value is `false`
Bonus: I changed all the `catch (err)` to `catch (error)` just for
consistency (git blame on me)
I'm honestly not so excited about this solution, but submitting it
anyway to hear your thoughts
0 commit comments