mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 14:34:54 +00:00
lint & enabled linter on Azure pipelines
This commit is contained in:
@@ -15,7 +15,7 @@ import { TerminalContextMenuItemProvider } from './contextMenuProvider'
|
||||
|
||||
|
||||
/** @hidden */
|
||||
export interface IToastrService {
|
||||
export interface ToastrServiceProxy {
|
||||
info (_: string)
|
||||
}
|
||||
/**
|
||||
@@ -80,7 +80,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
||||
protected sessions: SessionsService,
|
||||
protected electron: ElectronService,
|
||||
protected terminalContainersService: TerminalFrontendService,
|
||||
@Inject(ToastrService) protected toastr: IToastrService,
|
||||
@Inject(ToastrService) protected toastr: ToastrServiceProxy,
|
||||
protected log: LogService,
|
||||
@Optional() @Inject(TerminalDecorator) protected decorators: TerminalDecorator[],
|
||||
@Optional() @Inject(TerminalContextMenuItemProvider) protected contextMenuProviders: TerminalContextMenuItemProvider[],
|
||||
|
@@ -284,7 +284,7 @@ export class Session extends BaseSession {
|
||||
} catch (e) {
|
||||
return null
|
||||
}
|
||||
let cwd = lines[(lines[1] === 'fcwd') ? 2 : 1].substring(1)
|
||||
let cwd = lines[lines[1] === 'fcwd' ? 2 : 1].substring(1)
|
||||
if (cwd.startsWith(catalinaDataVolumePrefix)) {
|
||||
cwd = cwd.substring(catalinaDataVolumePrefix.length)
|
||||
}
|
||||
|
Reference in New Issue
Block a user