Skip to content

Commit a3b4257

Browse files
fix typo
1 parent a45be9d commit a3b4257

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
rev: v0.1.3.9135
99
hooks:
1010
- id: style-files
11-
args: [--style_pkg=styler, --style_fun=tidyverse_style, --cache_root=styler-perm]
11+
args: [--style_pkg=styler, --style_fun=tidyverse_style, --cache-root=styler-perm]
1212
exclude: >
1313
(?x)^(
1414
tests/testthat/in/.*\.R|

vignettes/available-hooks.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ In addition, the hook takes the following arguments that are not passed to
9292
```
9393

9494

95-
* Argument `cache_root` is passed to `options()` to set `styler.cache_root`.
95+
* Argument `cache-root` is passed to `options()` to set `styler.cache_root`.
9696
Default value: `styler-perm`. The argument
9797
determines the sub-directory under the {R.cache} cache directory that {styler}
9898
uses. If you want {styler} to auto-clean up caches older than 6 days, set this

0 commit comments

Comments
 (0)