Skip to content

Commit

Permalink
bugfix parsing julia version from manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
yjunechoe committed Feb 7, 2024
1 parent 27c5c81 commit c69f5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/aaa.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ julia_cli <- function(x) {
utils::tail(system2("julia", x, stdout = TRUE), 1L)
}
parse_julia_version <- function(version) {
gsub("^julia version .*(\\d+\\.\\d+\\.\\d+).*$", "\\1", version)
gsub("^julia.version .*(\\d+\\.\\d+\\.\\d+).*$", "\\1", version)
}
julia_version <- function() {
parse_julia_version(julia_cli("--version"))
Expand Down

0 comments on commit c69f5c5

Please sign in to comment.