Skip to content

Commit

Permalink
CF
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed Sep 20, 2024
1 parent 762c88a commit 5947506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/location_packit.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ auth_cache <- new.env(parent = emptyenv())
packit_authorisation <- function(base_url, token, save_token) {
# If a non-Github token is provided, we assume it is a native Packit token
# and use that directly.
if (!is.null(token) && !grepl('^gh._', token)) {
if (!is.null(token) && !grepl("^gh._", token)) {
return(list("Authorization" = paste("Bearer", token)))
}

Expand Down

0 comments on commit 5947506

Please sign in to comment.