fix: Does not error when recipes folder does not exist in app new #552
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "p4u1/abra:app-new-first-time"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nice! Can we get a test with this also? Otherwise, we're too easily getting regressions 🙏
I would love to write a test, but integration test is not possible, because it does not trigger with --no-input and a unit test is also not possible, because the function makes a dozen calls into the universe. This will need some serious refactoring, before we can test stuff like this :(
OK yeh, fair enough 👍 I'd probably just
log.Debug
this or even skip the error altogether sinceabra
will re-create the recipes dir on any further logic. It would seem to be a weird state to end up in but not something the user really needs to care about when it gets resolved internally? Merge away anyway with whatever you're happy with.Checkout
From your project repository, check out a new branch and test the changes.