Make sq config get policy.path reflect SEQUOIA_CONFIG_POLICY.

- This is cosmetic, but makes the output more consistent.

  - Fixes #467.
This commit is contained in:
Justus Winter 2024-11-28 13:20:18 +01:00
parent 3b45a6bb63
commit 477f255f84
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -191,7 +191,10 @@ impl ConfigFile {
&format!("{:?}", cli::key::CipherSuite::default().
to_possible_value().unwrap().get_name()),
&format!("{:?}", cli::network::keyserver::DEFAULT_KEYSERVERS),
&format!("{:?}", ConfiguredStandardPolicy::CONFIG_FILE),
&format!("{:?}",
std::env::var(ConfiguredStandardPolicy::ENV_VAR)
.unwrap_or_else(
|_| ConfiguredStandardPolicy::CONFIG_FILE.into())),
&default_policy_inline.to_string(),
]))
}