Skip to content

Commit

Permalink
use xml-based check for yoda_test_linter
Browse files Browse the repository at this point in the history
Branch comparison crashing a bunch because of failing on unparseable files -- this is why
  • Loading branch information
MichaelChirico authored Apr 12, 2022
1 parent f1643b7 commit 4902476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/yoda_test_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' @export
yoda_test_linter <- function() {
Linter(function(source_file) {
if (length(source_file$parsed_content) == 0L) {
if (length(source_file$xml_parsed_content) == 0L) {
return(list())
}

Expand Down

0 comments on commit 4902476

Please sign in to comment.