mirror of
https://github.com/veeso/termscp.git
synced 2026-04-08 19:21:34 -07:00
233 feature request subcommands (#234)
This commit is contained in:
committed by
GitHub
parent
2a51ab984c
commit
679a829744
@@ -419,7 +419,7 @@ mod tests {
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
use crate::config::UserConfig;
|
||||
use crate::config::params::UserConfig;
|
||||
use crate::utils::random::random_alphanumeric_with_len;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -48,7 +48,7 @@ impl SshKeyStorage {
|
||||
.query(host)
|
||||
.identity_file
|
||||
.as_ref()
|
||||
.and_then(|x| x.get(0).cloned());
|
||||
.and_then(|x| x.first().cloned());
|
||||
|
||||
key
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user