Update screenshot resolution.
Fixed prettier issues.
This commit is contained in:
parent
f2b025c469
commit
20327687ff
Binary file not shown.
Before Width: | Height: | Size: 313 KiB After Width: | Height: | Size: 1.6 MiB |
@ -14,13 +14,13 @@ function generate() {
|
|||||||
const lowerVowels = "aeiouy".split("");
|
const lowerVowels = "aeiouy".split("");
|
||||||
const upperVowels = "AEUY".split("");
|
const upperVowels = "AEUY".split("");
|
||||||
|
|
||||||
const numberPositions: {[index: number]: number} = {
|
const numberPositions: { [index: number]: number } = {
|
||||||
1: 1,
|
1: 1,
|
||||||
2: 7,
|
2: 7,
|
||||||
3: 13,
|
3: 13,
|
||||||
4: 6,
|
4: 6,
|
||||||
5: 12,
|
5: 12,
|
||||||
6: 18
|
6: 18,
|
||||||
};
|
};
|
||||||
|
|
||||||
// choose position of number and upper case letter
|
// choose position of number and upper case letter
|
||||||
@ -50,7 +50,6 @@ function generate() {
|
|||||||
}
|
}
|
||||||
passwordSection += randomInt(1, 10);
|
passwordSection += randomInt(1, 10);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (count % 3 === 0) {
|
if (count % 3 === 0) {
|
||||||
// vowel
|
// vowel
|
||||||
if (uppercasePos === i) {
|
if (uppercasePos === i) {
|
||||||
@ -72,7 +71,6 @@ function generate() {
|
|||||||
if (i % 6 === 0) {
|
if (i % 6 === 0) {
|
||||||
passwordSection += "-";
|
passwordSection += "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return passwordSection;
|
return passwordSection;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user