Skip to content

Commit

Permalink
try to fix windows once again
Browse files Browse the repository at this point in the history
  • Loading branch information
mutlusun committed Oct 14, 2024
1 parent 0e784a9 commit 765d2e9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions R/tar_quarto_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ tar_quarto_files <- function(path = ".", profile = NULL) {
tar_quarto_files_document(path)
)
for (field in c("sources", "output", "input")) {
out[[field]] <- sort(fs::path_rel(unique(as.character(out[[field]]))))
out[[field]] <- as.character(out[[field]])
out[[field]] <- out[[field]] |>
as.character() |>
fs::path_norm() |>
fs::path_rel() |>
as.character() |>
sort() |>
unique()
}
out
}
Expand Down

0 comments on commit 765d2e9

Please sign in to comment.