Skip to content

Commit 6d26a68

Browse files
committed
Use forward slash in tools command
so that it works on Windows and Linux
1 parent 45057a6 commit 6d26a68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/gallery-screenshot.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
# Screenshot example for Gallery Image -----------------------------------
33

44
## Example: Run this command from root repo (on Windows)
5-
## quarto run .\tools\gallery-screenshot.R .\docs\gallery\dashboards\dashing-through-snow.png https://mine.quarto.pub/dashing-through-snow-py/
6-
7-
## Example: Run this command from root repo (on Mac/Linux)
85
## quarto run ./tools/gallery-screenshot.R ./docs/gallery/dashboards/dashing-through-snow.png https://mine.quarto.pub/dashing-through-snow-py/
96

10-
117
args <- commandArgs(trailingOnly = TRUE)
128

139
# Check if the correct number of arguments are provided

0 commit comments

Comments
 (0)