mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Fixed breaking change
fix lint log fixed breaking change
This commit is contained in:
parent
24b943123c
commit
3732344407
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user