lint fix wip
This commit is contained in:
parent
86c8de87b2
commit
6d993bedc5
@ -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({
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -83,7 +83,7 @@ class PublishWorkerService {
|
|||||||
if (isReady) {
|
if (isReady) {
|
||||||
await swClient.stopPublishWorker()
|
await swClient.stopPublishWorker()
|
||||||
}
|
}
|
||||||
} catch (_error) {
|
} catch {
|
||||||
// Ignore errors
|
// Ignore errors
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user