mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-25 11:20:01 +00:00
9 lines
334 B
TOML
9 lines
334 B
TOML
disallowed-methods = [
|
|
# std::process::Command::new may inadvertly run executables from the current working directory
|
|
"std::process::Command::new",
|
|
# Setting environment variables can cause issues with non-rust code
|
|
"std::env::set_var",
|
|
# use `dunce` to avoid UNC/verbatim paths, where possible
|
|
"std::fs::canonicalize",
|
|
]
|