Skip to content

Throw error if libdir is not empty but selfcontained = TRUE#468

Open
gadenbuie wants to merge 3 commits intomasterfrom
feat/417-error-libdir-not-empty
Open

Throw error if libdir is not empty but selfcontained = TRUE#468
gadenbuie wants to merge 3 commits intomasterfrom
feat/417-error-libdir-not-empty

Conversation

@gadenbuie
Copy link
Collaborator

Fixes #417 and saves users from accidentally deleting important files by throwing an error when the user provides a libdir that contains files. This is only an issue when selfcontained = TRUE because otherwise the files written into libdir are not removed after saving the widget html.

gadenbuie added 3 commits May 1, 2023 11:51
Fixes #417 and saves users from accidentally deleting important files by throwing an error when the user provides a `libdir` that contains files. This is only an issue when `selfcontained = TRUE` because otherwise the files written into `libdir` are not removed after saving the widget html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

saveWidget removed all files in my output folder

1 participant