Skip to content

Commit fe8d2b2

Browse files
authored
Only capture differences to inst/apps when generating patch files in fix_snaps() (#265)
* Only capture differences to inst/apps when generating patch files in fix_snaps() * `devtools::document()` (GitHub Actions) --------- Co-authored-by: cpsievert <cpsievert@users.noreply.github.com>
1 parent a6ef4da commit fe8d2b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Description: Core shiny team tools to facilitate testing of the shiny-verse.
1010
License: MIT + file LICENSE
1111
Encoding: UTF-8
1212
Roxygen: list(markdown = TRUE)
13-
RoxygenNote: 7.2.3
13+
RoxygenNote: 7.3.1
1414
Imports:
1515
jsonlite,
1616
progress,

R/fix_snaps.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fix_snaps <- function(
103103

104104
# Make patch file given diff
105105
# git_cmd_(paste0("git format-patch '", original_git_branch, "' --stdout > ", patch_file))
106-
git_cmd_("git diff --binary ", original_git_branch, " > ", patch_file)
106+
git_cmd_("git diff --binary ", original_git_branch, " -- inst/apps > ", patch_file)
107107
}
108108

109109
patch_file

0 commit comments

Comments
 (0)