Skip to content

Commit a5efb4f

Browse files
committed
Return null not undefined
1 parent d59772d commit a5efb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/js/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function ffi_text_parse_at_path(text, path, parse_options) {
2929
if (node) {
3030
return get_node_value(node);
3131
} else {
32-
return undefined;
32+
return null;
3333
}
3434
}
3535

0 commit comments

Comments
 (0)