-
-
Notifications
You must be signed in to change notification settings - Fork 822
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
fix: --build.bin
path for windows
#590
base: master
Are you sure you want to change the base?
fix: --build.bin
path for windows
#590
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #590 +/- ##
==========================================
+ Coverage 67.12% 68.85% +1.72%
==========================================
Files 12 12
Lines 1080 1095 +15
==========================================
+ Hits 725 754 +29
+ Misses 266 250 -16
- Partials 89 91 +2 ☔ View full report in Codecov by Sentry. |
I can't test the error case of |
if value.Value != nil && *value.Value != unsetDefault { | ||
// To avoid path resolving problems on Windows. | ||
if key == "build.bin" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think put logic in there is a good choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and we need to apply logic to windows only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think put logic in there is a good choice.
I agree on this one, I am thinking of moving the logic inside setValue2Struct
, wdyt!
closes #589
Changes
--build.bin
is converted to an absolute path always as it is done hereAny breaking change
No
Is this change easily revertible
Yes