Skip to content

Commit

Permalink
explicitly specify the prefix when installing flowr (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellpeck authored Oct 2, 2024
1 parent 5beb926 commit d38cb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/node.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ install_node <- function(node_ver, verbose = FALSE, base_dir = get_default_node_
#'
#' @export
install_flowr <- function(flowr_ver, verbose = FALSE, base_dir = get_default_node_base_dir()) {
exec_node_command("npm", c("install", "-g", paste0("@eagleoutice/flowr@", flowr_ver)), verbose, base_dir)
exec_node_command("npm", c("install", "-g", paste0("--prefix=", get_node_exe_dir(base_dir)), paste0("@eagleoutice/flowr@", flowr_ver)), verbose, base_dir)
}

#' Executes a local version of the flowR CLI with the given arguments in the given directory.
Expand Down

0 comments on commit d38cb07

Please sign in to comment.