Fixed breaking change

fix lint

log

fixed breaking change
This commit is contained in:
Musa Ibrahim 2020-09-22 18:32:46 +01:00 committed by darangi
parent 24b943123c
commit 3732344407

View File

@ -18,6 +18,7 @@ module.exports = class Color {
if (Array.isArray(value)) {
return null;
}
value = value.toRGBAString();
break;
default:
return null;
@ -28,7 +29,7 @@ module.exports = class Color {
}
try {
var parsedColor = new ParsedColor(value);
var parsedColor = ParsedColor(value);
} catch (error) {
return null;
}