-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Avoid duplication of / in joinPaths (Windows) #201
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
Codecov Report
@@ Coverage Diff @@
## ign-common3 #201 +/- ##
===============================================
- Coverage 75.08% 75.08% -0.01%
===============================================
Files 72 72
Lines 10261 10273 +12
===============================================
+ Hits 7704 7713 +9
- Misses 2557 2560 +3
Continue to review full report at Codecov.
|
Can we add some test cases that demonstrate the fix? Also, should we make the behavior consistent across platforms? |
I can remove the |
Signed-off-by: ahcorde <ahcorde@gmail.com>
…m/ignitionrobotics/ign-common into ahcorde/improve/windows/joinPaths
MacOS warnings are unrelated |
Signed-off-by: Louise Poubel <louise@openrobotics.org>
I pushed a test in 6c4f5d6, LGTM if it passes. |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
MacOS warnings are unrelated |
Signed-off-by: ahcorde ahcorde@gmail.com
🦟 Bug fix
Fixes #
Related with this issue gazebosim/gz-fuel-tools#178
Summary
When we use
JoinPaths
with a empty string we can have some extra ' /' which generates some issues on Windows. As a explained here. This PR remove the '/' at the beginning and end of the string.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge