Skip to content

Commit b96d782

Browse files
committed
refactor: avoid unnecessary glob expansion
1 parent 09f1459 commit b96d782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/update_plotlyjs.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ withr::with_dir(tmpdir, {
6363
overwrite = TRUE
6464
)
6565
# update plot schema and (partial) bundles
66-
Schema <- jsonlite::fromJSON(Sys.glob("dist/plot-schema.json"))
66+
Schema <- jsonlite::fromJSON("dist/plot-schema.json")
6767
bundleTraceMap <-
6868
paste0(readLines("tasks/util/constants.js"), collapse = "\n") |>
6969
stringr::str_extract(pattern = "(?<=\\b(const|var) partialBundleTraces = )\\{[^}]+\\}") |>

0 commit comments

Comments
 (0)