Skip to content

Commit 240543b

Browse files
committed
fix: removed exec returning null
1 parent 3ac5f8d commit 240543b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const getValue = (element) => {
266266
if (execResult) {
267267
value = execResult[1] || execResult[2] || execResult[0]; // Prioritize capturing group if available
268268
} else {
269-
value = null;
269+
// value = null;
270270
}
271271
break;
272272

0 commit comments

Comments
 (0)