-
-
Notifications
You must be signed in to change notification settings - Fork 423
[skip-changelog] Handle repeated builds of a sketch when --build-path
target is in the sketch directory
#2084
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
[skip-changelog] Handle repeated builds of a sketch when --build-path
target is in the sketch directory
#2084
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@ ## master #2084 +/- ## ========================================== - Coverage 36.46% 36.42% -0.04% ========================================== Files 229 229 Lines 19558 19578 +20 ========================================== Hits 7131 7131 - Misses 11588 11608 +20 Partials 839 839
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
e13561b
to
ed96ee2
Compare
61560f4
to
d29c379
Compare
kalj
commented
Mar 1, 2023
Thanks for fixing #1646 ! 👍 ⭐
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
Code imperfection fix
What is the current behavior?
It is not possible to build a sketch multiple times when the
--build-path
is the same and is inside the sketch directory. The following error is thrown:It happens because the CLI treats the build directory as part of the sketch itself, therefore it fails when the content of the directory gets deleted/overwritten.
What is the new behavior?
If the
--build-path
target already exists and is inside the sketch directory, it is ignored when the sketch instance is created, allowing the user tocompile
multiple times.Does this PR introduce a breaking change, and is titled accordingly?
No