mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
lint
This commit is contained in:
parent
129bc8a9f1
commit
6f972ab4cc
@ -287,7 +287,7 @@ export class Session extends BaseSession {
|
||||
}
|
||||
|
||||
supportsWorkingDirectory (): boolean {
|
||||
return !!(this.truePID || this.reportedCWD ?? this.guessedCWD)
|
||||
return !!this.truePID ?? this.reportedCWD ?? this.guessedCWD
|
||||
}
|
||||
|
||||
async getWorkingDirectory (): Promise<string|null> {
|
||||
|
@ -9,7 +9,7 @@ import { OSC1337Processor } from './api/osc1337Processing'
|
||||
*/
|
||||
export abstract class BaseSession {
|
||||
open: boolean
|
||||
truePID: number
|
||||
truePID?: number
|
||||
protected output = new Subject<string>()
|
||||
protected binaryOutput = new Subject<Buffer>()
|
||||
protected closed = new Subject<void>()
|
||||
|
Loading…
Reference in New Issue
Block a user