lint fix wip

This commit is contained in:
Nicolas Cantu 2026-01-07 12:52:52 +01:00
parent 86c8de87b2
commit 6d993bedc5
3 changed files with 2 additions and 8 deletions

View File

@ -253,12 +253,6 @@ async function storeEncryptedKEK(encryptedKEK: EncryptedPayload): Promise<void>
// Store encrypted KEK as password in credential // Store encrypted KEK as password in credential
// Type assertion for PasswordCredential // Type assertion for PasswordCredential
interface PasswordCredentialData {
id: string
name: string
password: string
iconURL?: string
}
type PasswordCredentialType = new (data: PasswordCredentialData) => Credential & { id: string; password: string } type PasswordCredentialType = new (data: PasswordCredentialData) => Credential & { id: string; password: string }
const PasswordCredentialClass = PasswordCredentialConstructor as PasswordCredentialType const PasswordCredentialClass = PasswordCredentialConstructor as PasswordCredentialType
const credential = new PasswordCredentialClass({ const credential = new PasswordCredentialClass({

View File

@ -226,7 +226,7 @@ async function buildArticle(event: Event, tags: ReturnType<typeof extractTagsFro
pages = metadataPages pages = metadataPages
} }
} }
} catch (_e) { } catch {
// Ignore JSON parsing errors // Ignore JSON parsing errors
} }

View File

@ -83,7 +83,7 @@ class PublishWorkerService {
if (isReady) { if (isReady) {
await swClient.stopPublishWorker() await swClient.stopPublishWorker()
} }
} catch (_error) { } catch {
// Ignore errors // Ignore errors
} }
} }