chore: fmt

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-01 15:02:05 +02:00
parent 8cd68d569b
commit 8b83b9c14d
7 changed files with 12 additions and 17 deletions

View File

@@ -40,7 +40,7 @@ pub fn get_from_environment(vars: std::env::Vars) -> PleaseConfigBuilder {
}
pub fn detect_environment(vars: &HashMap<String, String>) -> ExecutionEnvironment {
if let Some(_) = vars.get("DRONE".into()) {
if vars.get("DRONE").is_some() {
return ExecutionEnvironment::Drone;
}