Skip to content

Commit

Permalink
Merge branch 'improve-version-detection' of https://github.com/inbo/c…
Browse files Browse the repository at this point in the history
…amtraptor into improve-version-detection
  • Loading branch information
damianooldoni committed Jan 16, 2024
2 parents a8230e6 + 4b61084 commit 7815038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ get_version <- function(profile) {
pattern = pattern_regex
)
if (stringr::str_detect(string = profile,
pattern = "camtrap-dp-profile.json") &
pattern = stringr::fixed("camtrap-dp-profile.json")) &
!is.na(extracted_version)) {
extracted_version
} else {
Expand Down

0 comments on commit 7815038

Please sign in to comment.