fix(security): tighten paths and output handling
This commit is contained in:
@@ -1088,7 +1088,7 @@ fn run_auth_migrate(store: &mut ConfigStore, secrets: &Secrets, dry_run: bool) -
|
||||
fn run_config_command(store: &mut ConfigStore, command: ConfigCommand) -> Result<()> {
|
||||
match command {
|
||||
ConfigCommand::Get { key } => {
|
||||
if let Some(value) = store.config.get_value(&key) {
|
||||
if let Some(value) = store.config.get_display_value(&key) {
|
||||
println!("{value}");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user