-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `atty` library has [a GitHub security advisory](GHSA-g98v-hv3f-hcfr) noting that it is unmaintained and can be unsound under some conditions. Its functionality can be replaced with `std::io::IsTerminal`; this PR does that. I also added a helper function which replaces the two identical uses; this gives a single place to change the policy if desired, rather than perhaps accidentally editing only one site.
- Loading branch information
Showing
4 changed files
with
9 additions
and
27 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters