Repository navigation
New project fails earlier when directory already exist - #11191
Merged
kevinushey merged 5 commits intoMay 13, 2022
Merged
Conversation
Contributor
Author
romainfrancois
commented
May 12, 2022
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
|
Same with shiny app: and other types (project template), e.g. for |
Collaborator
|
Looks good to me! While we're in this code, we could potentially tweak the warning text:
|
kevinushey
approved these changes
May 12, 2022
romainfrancois
force-pushed
the
bugfix/new_quarto_project_10570
branch
from
May 12, 2022 18:08
6e575eb to
9a03737
Compare
Collaborator
|
Thank you @romainfrancois ! |
matheustavaresdev
added a commit
that referenced
this pull request
May 17, 2022
…on-auto-select * 'main' of github.com:rstudio/rstudio: (40 commits) update to Electron 18.2.3 ensure new instance is created when opening remote session file Update NEWS.md Fix flags not being passed through constructor in R version selectors remove unnecessary package install gpg1 for signing skip adding compiler definitions find jdk on my Intel Mac produce builds for fedora36 use ucrtbase.dll with R 4.2.0 or newer (#11207) Outline uses quarto style labels, `#| label: <name>` (#11192) Allow fallback unknown text file types to open in Desktop same as in server update embedded libclang to 13.0.1 (#11186) Addresses handling of native pipe args with no placeholder (#11194) New project fails earlier when directory already exist (#11191) remove unused gwt class replacements (#11193) update Electron NEWS make message box API aware of this option whitespace tweak naming tweaks from PR feedback ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Intent
addresses #10570
Approach
Moving the bulk of
validateAsync()method toNewDirectoryPageso that emptiness of the directory is checked upfront for all projects. i.e. before we get intoquartoCreateProjecton the quarto case.Automated Tests
QA Notes
Checklist
NEWS.md