-
-
Notifications
You must be signed in to change notification settings - Fork 929
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: remove doubled extension in system.filePath #300
Conversation
For me it currently looks like you
Please do not miss-use the priority labels, this is not a p4, max p3, if this is even a bug at all 🤔 |
IMO it's a bug or at least unexpected behavior, but nothing important. |
Fixing a bug, so it is kind of "stability", but wasn't sure on your "terminology"
I am not sure what do you mean :/
I was not sure if my labels are correct, hence I reached out on discord asking for help with this. I strongly believe it is a bug though. |
# Conflicts: # src/system.ts
Tests are indicating that this was expected 🤔 |
These are the new tests. There were no old tests for this function AFAIK. And I can't really see why anyone would want to have dbl extensions in the |
Added as a separate |
@Shinigami92 anything else to be done in this PR? I lost the track a little bit? |
Codecov Report
@@ Coverage Diff @@
## main #300 +/- ##
=======================================
Coverage 99.34% 99.34%
=======================================
Files 1924 1924
Lines 177021 177022 +1
Branches 904 904
=======================================
+ Hits 175860 175861 +1
Misses 1105 1105
Partials 56 56
|
system.filePath
incorrectly creates results with two extensions. This PR is fixing this issue.Steps to reproduce:
faker.system.filePath()
Expected output:
'/usr/local/src/money.dotx'
Actual output:
'/usr/local/src/money.rmp.dotx'