There was an error while loading. Please reload this page.
1 parent b708223 commit 173e2b0Copy full SHA for 173e2b0
1 file changed
src/config.rs
@@ -107,11 +107,9 @@ pub fn configured_project_for_context(resolved_org: Option<&str>) -> Option<Stri
107
}
108
109
pub fn configured_project_id() -> Option<String> {
110
- load().ok().and_then(|cfg| {
111
- config_matches_context(&cfg, None)
112
- .then(|| trimmed_option(cfg.project_id.as_deref()).map(str::to_string))
113
- .flatten()
114
- })
+ load()
+ .ok()
+ .and_then(|cfg| trimmed_option(cfg.project_id.as_deref()).map(str::to_string))
115
116
117
pub(crate) fn project_from_config_for_context(
0 commit comments