Skip to content

Commit

Permalink
'check_empty_beautier_folder' works correctly on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jul 24, 2021
1 parent 5247d8f commit b23ec7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Newest versions at top.

## beautier 2.6.2 (unreleased)
## beautier 2.6.2 (2021-07-24)

### NEW FEATURES

* None

### MINOR IMPROVEMENTS

* None
* `check_empty_beautier_folder` works correctly on Windows

### BUG FIXES

Expand Down
2 changes: 1 addition & 1 deletion R/check_empty_beautier_folder.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
check_empty_beautier_folder <- function(
beautier_folder = get_beautier_folder()
) {
dirs <- list.dirs(beautier_folder)
dirs <- normalizePath(list.dirs(beautier_folder))
dirs <- dirs[dirs != normalizePath(beautier_folder, mustWork = FALSE)]

if (length(dirs) != 0) {
Expand Down

0 comments on commit b23ec7c

Please sign in to comment.