Skip to content

Commit

Permalink
fix defensive check
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Baumann committed Aug 11, 2023
1 parent 7052cdd commit 4be69b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/find_rev.R
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ nix_build <- function(project_path = ".",
"`nix_file` does not exist. Please use a valid path." =
file.exists(nix_file),
"`nix-build` not available. To install, we suggest you follow https://zero-to-nix.com/start/install ." =
isFALSE(has_nix_build)
isTRUE(has_nix_build)
)
exec_mode <- match.arg(exec_mode)

Expand Down
2 changes: 1 addition & 1 deletion dev/build_envs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ nix_build <- function(project_path = ".",
"`nix_file` does not exist. Please use a valid path." =
file.exists(nix_file),
"`nix-build` not available. To install, we suggest you follow https://zero-to-nix.com/start/install ." =
isFALSE(has_nix_build)
isTRUE(has_nix_build)
)
exec_mode <- match.arg(exec_mode)
Expand Down

0 comments on commit 4be69b2

Please sign in to comment.