Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow init . does not work #1756

Open
jribbink opened this issue Sep 18, 2024 · 0 comments
Open

flow init . does not work #1756

jribbink opened this issue Sep 18, 2024 · 0 comments
Labels
Bug The issue represents a bug, malfunction, regression

Comments

@jribbink
Copy link
Contributor

Problem

If trying to initialize a project in the current directory, an error appears:

❌ Command Error: failed to move temp directory to target directory: rename /var/folders/wj/ymk8prxn3638w_53xhj6j4pw0000gn/T/flow-cli-1659395429 /Users/jribbink/repos/dep-test: file exists

Steps to Reproduce

flow init . & select any options

Acceptance Criteria

Should not fail. I would suggest either:

  • Copy files into folder if there are no conflicts
  • Copy files into folder only if empty (this could be checked before prompting the user about anything else)
@jribbink jribbink self-assigned this Sep 18, 2024
@jribbink jribbink added the Bug The issue represents a bug, malfunction, regression label Sep 18, 2024
@jribbink jribbink moved this to 🔖 Ready for Pickup in 🌊 Flow 4D Sep 18, 2024
@jribbink jribbink removed their assignment Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue represents a bug, malfunction, regression
Projects
Status: 🔖 Ready for Pickup
Development

No branches or pull requests

1 participant