mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-28 05:38:35 +00:00
fix import lowcase host from ssh/config
This commit is contained in:
@@ -26,7 +26,7 @@ export class OpenSSHImporter extends SSHProfileImporter {
|
|||||||
if (line.trim().startsWith('#') || !line.trim()) {
|
if (line.trim().startsWith('#') || !line.trim()) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (line.startsWith('Host ')) {
|
if (line.toLowerCase().startsWith('host ')) {
|
||||||
if (currentProfile) {
|
if (currentProfile) {
|
||||||
results.push(currentProfile)
|
results.push(currentProfile)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user