From 760311ffa0df7f810f714a39cc707e9902b3df95 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 13 Jul 2021 23:50:31 +0200 Subject: [PATCH] lint --- patches/app-builder-lib+22.10.5.patch | 8 ++++---- tabby-core/src/services/profiles.service.ts | 2 +- tabby-local/src/profiles.ts | 2 +- .../src/components/editProfileModal.component.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/patches/app-builder-lib+22.10.5.patch b/patches/app-builder-lib+22.10.5.patch index d95648db..a7c9a0c8 100644 --- a/patches/app-builder-lib+22.10.5.patch +++ b/patches/app-builder-lib+22.10.5.patch @@ -1,13 +1,13 @@ diff --git a/node_modules/app-builder-lib/out/appInfo.js b/node_modules/app-builder-lib/out/appInfo.js -index 25a159e..d8a0262 100644 +index 25a159e..bfe0590 100644 --- a/node_modules/app-builder-lib/out/appInfo.js +++ b/node_modules/app-builder-lib/out/appInfo.js @@ -165,7 +165,7 @@ class AppInfo { get linuxPackageName() { const name = this.name; // https://github.com/electron-userland/electron-builder/issues/2963 - + - return name.startsWith("@") ? this.sanitizedProductName : name; -+ return 'tabby-terminal' ++ return 'tabby-terminal'; } - + get sanitizedName() { diff --git a/tabby-core/src/services/profiles.service.ts b/tabby-core/src/services/profiles.service.ts index ef0c9c55..7b24a1b6 100644 --- a/tabby-core/src/services/profiles.service.ts +++ b/tabby-core/src/services/profiles.service.ts @@ -2,7 +2,7 @@ import { Injectable, Inject } from '@angular/core' import { NewTabParameters } from './tabs.service' import { BaseTabComponent } from '../components/baseTab.component' import { PartialProfile, Profile, ProfileProvider } from '../api/profileProvider' -;import { SelectorOption } from '../api/selector' +import { SelectorOption } from '../api/selector' import { AppService } from './app.service' import { configMerge, ConfigProxy, ConfigService } from './config.service' import { NotificationsService } from './notifications.service' diff --git a/tabby-local/src/profiles.ts b/tabby-local/src/profiles.ts index e1ea5d3c..4849e968 100644 --- a/tabby-local/src/profiles.ts +++ b/tabby-local/src/profiles.ts @@ -58,7 +58,7 @@ export class LocalProfilesService extends ProfileProvider { if (focusedTab instanceof TerminalTabComponent && focusedTab.session) { profile.options ??= {} - profile.options!.cwd = await focusedTab.session.getWorkingDirectory() ?? undefined + profile.options.cwd = await focusedTab.session.getWorkingDirectory() ?? undefined } } } diff --git a/tabby-settings/src/components/editProfileModal.component.ts b/tabby-settings/src/components/editProfileModal.component.ts index 3bc2dd18..6d90c4f1 100644 --- a/tabby-settings/src/components/editProfileModal.component.ts +++ b/tabby-settings/src/components/editProfileModal.component.ts @@ -41,7 +41,7 @@ export class EditProfileModalComponent

{ ngOnInit () { this._profile = this.profile - this.profile = this.profilesService.getConfigProxyForProfile(this.profile) as any + this.profile = this.profilesService.getConfigProxyForProfile(this.profile) } ngAfterViewInit () {