mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 22:44:55 +00:00
use providedIn
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Injectable, NgZone } from '@angular/core'
|
||||
import { SSHConnection } from '../api'
|
||||
import SSHModule from '..'
|
||||
|
||||
let xkeychain
|
||||
let wincredmgr
|
||||
@@ -13,7 +14,7 @@ try {
|
||||
}
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
@Injectable({ providedIn: SSHModule })
|
||||
export class PasswordStorageService {
|
||||
constructor (
|
||||
private zone: NgZone,
|
||||
|
@@ -9,6 +9,7 @@ import { TerminalTabComponent } from 'terminus-terminal'
|
||||
import { SSHConnection, SSHSession } from '../api'
|
||||
import { PromptModalComponent } from '../components/promptModal.component'
|
||||
import { PasswordStorageService } from './passwordStorage.service'
|
||||
import SSHModule from '..'
|
||||
const { SSH2Stream } = require('ssh2-streams')
|
||||
|
||||
let windowsProcessTree
|
||||
@@ -17,7 +18,7 @@ try {
|
||||
} catch (e) {
|
||||
} // tslint:disable-line
|
||||
|
||||
@Injectable()
|
||||
@Injectable({ providedIn: SSHModule })
|
||||
export class SSHService {
|
||||
private logger: Logger
|
||||
|
||||
|
Reference in New Issue
Block a user