1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-29 04:23:26 +00:00

docs: remove redundant settings in Contributing guide (#1326)

Have removed some redundant settings in the CONTRIBUTING.md since
starship should be the only application using the `STARSHIP_LOG` env
var.
This commit is contained in:
Thomas O'Donnell 2020-06-14 22:02:24 +02:00 committed by GitHub
parent feac3d56ce
commit 4788092423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,10 +32,10 @@ For example, to enable the trace logs, run the following:
```sh
# Run installed starship
STARSHIP_LOG=starship=trace starship
STARSHIP_LOG=trace starship
# Run with cargo
STARSHIP_LOG=starship=trace cargo run
STARSHIP_LOG=trace cargo run
```
## Linting
@ -84,7 +84,7 @@ For tests that depend on having preexisting state, whatever needed state will ha
Any tests that depend on File I/O should use [`sync_all()`](https://doc.rust-lang.org/std/fs/struct.File.html#method.sync_all) when creating files or after writing to files.
Any tests that use `tempfile::tempdir` should take care to call `dir.close()` after usage to ensure the lifecycle of the directory can be reasoned about.
Any tests that use `tempfile::tempdir` should take care to call `dir.close()` after usage to ensure the lifecycle of the directory can be reasoned about.
Any tests that use `create_fixture_repo()` should remove the returned directory after usage with `remove_dir_all::remove_dir_all()`.