remove null regex check - fixes #1222
This commit is contained in:
parent
7de4718b27
commit
155c640409
@ -57,7 +57,7 @@ export function evaluate(): { confident: boolean; value: any } {
|
||||
}
|
||||
|
||||
if (path.isLiteral()) {
|
||||
if (node.regex && node.value === null) {
|
||||
if (node.regex) {
|
||||
// we have a regex and we can't represent it natively
|
||||
} else {
|
||||
return node.value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user