Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix lint

Chocobozzz197f0bcf6df7
diff --git a/client/src/app/core/notification/notifier.service.ts b/client/src/app/core/notification/notifier.service.ts
index f0bfe79149..bf31891f23 100644
--- a/client/src/app/core/notification/notifier.service.ts
+++ b/client/src/app/core/notification/notifier.service.ts
@@ -1,4 +1,3 @@
-import { HttpErrorResponse } from '@angular/common/http'
import { Injectable, inject } from '@angular/core'
import { HttpStatusCode } from '@peertube/peertube-models'
import { PeerTubeHTTPError, PeerTubeReconnectError } from '@root-helpers/errors'
diff --git a/client/src/app/core/rest/rest-extractor.service.ts b/client/src/app/core/rest/rest-extractor.service.ts
index b3d59d78ad..54e48354d6 100644
--- a/client/src/app/core/rest/rest-extractor.service.ts
+++ b/client/src/app/core/rest/rest-extractor.service.ts
@@ -1,4 +1,4 @@
-import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'
+import { HttpHeaderResponse } from '@angular/common/http'
import { Injectable, LOCALE_ID, inject } from '@angular/core'
import { Router } from '@angular/router'
import { DateFormat, dateToHuman } from '@app/helpers'
diff --git a/client/src/app/homepage-redirect.component.ts b/client/src/app/homepage-redirect.component.ts
index f76f8477f7..aaaaa0ddfd 100644
--- a/client/src/app/homepage-redirect.component.ts
+++ b/client/src/app/homepage-redirect.component.ts
@@ -4,10 +4,11 @@ import { is18nPath } from '@peertube/peertube-core-utils'
import { RedirectService } from './core/routing/redirect.service'
/*
- * We have to use a component instead of an homepage because of a weird issue when using router.navigate in guard
+ * Historically use a component instead of an homepage because of a weird issue when using router.navigate in guard
*
- * Since we also want to use the `skipLocationChange` option, we cannot use a guard that returns a UrlTree
+ * Since we also want to use the `skipLocationChange` option, we couldn't use a guard that returns a UrlTree
* See https://github.com/angular/angular/issues/27148
+ * The issue is fixed but we keep this component it works well and is simple enough
*/
@Component({
diff --git a/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.ts b/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.ts
index 4899663a03..f29236b8fd 100644
--- a/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.ts
+++ b/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.ts
@@ -6,7 +6,6 @@ import { FormReactive } from '@app/shared/shared-forms/form-reactive'
import { FormReactiveService } from '@app/shared/shared-forms/form-reactive.service'
import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap'
import { AbuseMessage, UserAbuse } from '@peertube/peertube-models'
-import { logger } from '@root-helpers/logger'
import { ABUSE_MESSAGE_VALIDATOR } from '../form-validators/abuse-validators'
import { GlobalIconComponent } from '../shared-icons/global-icon.component'
import { PTDatePipe } from '../shared-main/common/date.pipe'
diff --git a/packages/transcription-devtools/tsconfig.json b/packages/transcription-devtools/tsconfig.json
index 39f9bd4b6d..e0d8891606 100644
--- a/packages/transcription-devtools/tsconfig.json
+++ b/packages/transcription-devtools/tsconfig.json
@@ -6,6 +6,7 @@
"tsBuildInfoFile": "./dist/.tsbuildinfo",
},
"references": [
- { "path": "../transcription" }
+ { "path": "../transcription" },
+ { "path": "../server-commands" }
]
}