mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 22:44:55 +00:00
Update ssh.ts
This commit is contained in:
@@ -5,7 +5,7 @@ import stripAnsi from 'strip-ansi'
|
|||||||
import * as shellQuote from 'shell-quote'
|
import * as shellQuote from 'shell-quote'
|
||||||
import { Injector } from '@angular/core'
|
import { Injector } from '@angular/core'
|
||||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
|
||||||
import { ConfigService, FileProvidersService, HostAppService, NotificationsService, PlatformService, PromptModalComponent, LogService, Logger, TranslateService } from 'tabby-core'
|
import { ConfigService, FileProvidersService, NotificationsService, PromptModalComponent, LogService, Logger, TranslateService } from 'tabby-core'
|
||||||
import { Socket } from 'net'
|
import { Socket } from 'net'
|
||||||
import { Subject, Observable } from 'rxjs'
|
import { Subject, Observable } from 'rxjs'
|
||||||
import { HostKeyPromptModalComponent } from '../components/hostKeyPromptModal.component'
|
import { HostKeyPromptModalComponent } from '../components/hostKeyPromptModal.component'
|
||||||
@@ -87,8 +87,8 @@ export class SSHSession {
|
|||||||
|
|
||||||
private passwordStorage: PasswordStorageService
|
private passwordStorage: PasswordStorageService
|
||||||
private ngbModal: NgbModal
|
private ngbModal: NgbModal
|
||||||
private hostApp: HostAppService
|
// private hostApp: HostAppService
|
||||||
private platform: PlatformService
|
// private platform: PlatformService
|
||||||
private notifications: NotificationsService
|
private notifications: NotificationsService
|
||||||
private fileProviders: FileProvidersService
|
private fileProviders: FileProvidersService
|
||||||
private config: ConfigService
|
private config: ConfigService
|
||||||
@@ -104,8 +104,8 @@ export class SSHSession {
|
|||||||
|
|
||||||
this.passwordStorage = injector.get(PasswordStorageService)
|
this.passwordStorage = injector.get(PasswordStorageService)
|
||||||
this.ngbModal = injector.get(NgbModal)
|
this.ngbModal = injector.get(NgbModal)
|
||||||
this.hostApp = injector.get(HostAppService)
|
// this.hostApp = injector.get(HostAppService)
|
||||||
this.platform = injector.get(PlatformService)
|
// this.platform = injector.get(PlatformService)
|
||||||
this.notifications = injector.get(NotificationsService)
|
this.notifications = injector.get(NotificationsService)
|
||||||
this.fileProviders = injector.get(FileProvidersService)
|
this.fileProviders = injector.get(FileProvidersService)
|
||||||
this.config = injector.get(ConfigService)
|
this.config = injector.get(ConfigService)
|
||||||
|
Reference in New Issue
Block a user