Skip to content

Commit

Permalink
Merge pull request #32 from brownag/lettuce
Browse files Browse the repository at this point in the history
Temporary coverage fix for #31
  • Loading branch information
njtierney authored Mar 16, 2024
2 parents f24dd74 + d684a86 commit b03f527
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/geotargets-option.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,3 @@ geotargets_option_set <- function(option_name, option_value) {
option_name <- geotargets_repair_option_name(option_name)
geotargets.env[[option_name]] <- option_value
}

geotargets_repair_option_name <- function(option_name) {
if (!startsWith(option_name, "geotargets.")) {
option_name <- paste0("geotargets.", option_name)
}
}
5 changes: 5 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
geotargets_repair_option_name <- function(option_name) {
if (!startsWith(option_name, "geotargets.")) {
option_name <- paste0("geotargets.", option_name)
}
}

0 comments on commit b03f527

Please sign in to comment.