Skip to content

Commit

Permalink
refactor: lint 1 script
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Oct 12, 2023
1 parent f34b0b4 commit aad55e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/spq_parse_verb_object.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ treat_p_o <- function(predicate) {
return(sprintf("?%s", property))
}

if (grepl("_all$", property)) {
if (!is.na(property) & endsWith(property, "_all")) {
property <- sub("_all$", "*", property)
}
sprintf("%s:%s", prefix, property)
Expand Down

0 comments on commit aad55e0

Please sign in to comment.