Skip to content

Commit

Permalink
#171 update NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarbone committed Jun 22, 2023
1 parent b0fce4b commit c9b33ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NEWS.md
Expand Up @@ -3,7 +3,7 @@
* improvements in `todos()` and `fixmes()`
* File extension can now be set [#170](https://github.com/jmbarbone/mark/issues/170), which by default includes `qmd` ([#163]((https://github.com/jmbarbone/mark/issues/163))) and `py` files
* new parameter `ignore` to ignore any files
* file paths and line numbers can now be _clicked_ within RStudio ([#171]((https://github.com/jmbarbone/mark/issues/171))) output format is changed
* file paths and line numbers can now be _clicked_ within RStudio ([#171]((https://github.com/jmbarbone/mark/issues/171)))

# mark 0.6.0

Expand Down
1 change: 1 addition & 0 deletions R/todos.R
Expand Up @@ -156,6 +156,7 @@ do_todo <- function( # nolint: cyclocomp_linter.
set_names(as.list(Reduce(rbind, finds)), c("line", text))
))

out[["file"]] <- fs::path_rel(out[["file"]], getwd())
out <- out[, c("line", "file", text)]
ind <- tolower(tools::file_ext(out[["file"]])) %in% c("md", "qmd", "rmd")

Expand Down

0 comments on commit c9b33ef

Please sign in to comment.