Skip to content

Commit 38feb38

Browse files
fix documentation for argument
1 parent 5688f2e commit 38feb38

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ editor_options:
44
wrap: 72
55
---
66

7+
# precommit v0.3.2.9000
8+
9+
- `use_ci()` is now documented to take `NA`, not `NULL` for argument
10+
`ci` (#431).
11+
712
# precommit v0.3.2
813

914
- `parsable-R` hook now gives more context on where and how parsing

R/setup.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ use_precommit <- function(config_source = getOption("precommit.config_source"),
7777
#' `"native"` on package loading (if unset). `"native"` sets up
7878
#' [pre-commit.ci](https://pre-commit.ci). Alternatively, `"gha"` can be used
7979
#' to set up [GitHub Actions](https://github.com/features/actions). Set value
80-
#' to `NULL` if you don't want to use a continuous integration.
80+
#' to `NA` if you don't want to use a continuous integration.
8181
#' @param force Whether or not to overwrite an existing ci config file (only
8282
#' relevant for `ci = "gha"`).
8383
#' @param open Whether or not to open [pre-commit.ci](https://pre-commit.ci)

man/use_ci.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/use_precommit.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)