fix: move lexical declarations outside case blocks in AbsurdSqlDatabaseService
- Move queryResult and allResult declarations outside switch statement - Change const declarations to let since they're now in outer scope - Remove const declarations from inside case blocks This fixes the 'no-case-declarations' linter errors by ensuring variables are declared in a scope that encompasses all case blocks, preventing potential scoping issues. Note: Type definition errors for external modules remain and should be addressed separately.
This commit is contained in:
@@ -445,11 +445,13 @@ export default class Help extends Vue {
|
||||
}
|
||||
|
||||
public async testMessageEncryptionDecryption() {
|
||||
this.messageEncryptionTestResult = await cryptoLib.testMessageEncryptionDecryption();
|
||||
this.messageEncryptionTestResult =
|
||||
await cryptoLib.testMessageEncryptionDecryption();
|
||||
}
|
||||
|
||||
public async testSimpleEncryptionDecryption() {
|
||||
this.simpleEncryptionTestResult = await cryptoLib.testSimpleEncryptionDecryption();
|
||||
this.simpleEncryptionTestResult =
|
||||
await cryptoLib.testSimpleEncryptionDecryption();
|
||||
}
|
||||
|
||||
public async createJwtSimplewebauthn() {
|
||||
|
||||
Reference in New Issue
Block a user