Skip to content

Commit f4faacf

Browse files
WaiSiuKeicasesandberg
authored andcommitted
fix(helper): fix duplicated 'a' when validating (#389)
1 parent 7ad1308 commit f4faacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import tinycolor from '../../modules/tinycolor2'
44
export default {
55

66
simpleCheckForValidColor(data) {
7-
const keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'a', 'v']
7+
const keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v']
88
let checked = 0
99
let passed = 0
1010
each(keysToCheck, (letter) => {

0 commit comments

Comments
 (0)