mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
<=
This commit is contained in:
@@ -277,7 +277,7 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async appendRandomNumberToRandomWord(wordList: string[]) {
|
private async appendRandomNumberToRandomWord(wordList: string[]) {
|
||||||
if (wordList == null || wordList.length < 0) {
|
if (wordList == null || wordList.length <= 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const index = await this.cryptoService.randomNumber(0, wordList.length - 1);
|
const index = await this.cryptoService.randomNumber(0, wordList.length - 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user