-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Add the addFileNameHash option that allows users to remove the hash f… #4915
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4915 +/- ##
=========================================
+ Coverage 92.89% 92.9% +0.01%
=========================================
Files 119 119
Lines 8836 8837 +1
=========================================
+ Hits 8208 8210 +2
+ Misses 628 627 -1
Continue to review full report at Codecov.
|
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.
Can we make it the opposite please? And call it ‘preserveFileName’
@flovilmart just a thought. |
I’m not for adding extra logic that can royally introduce unexpected behaviors for an unknown and non required use case. YAGNI. |
Fair enough 👍 |
@flovilmart The requested changes were made. |
@GabrielLomba thanks for the changes, it's looking good. Can you revert the changes in the package-lock.json file please? I'M not sure they are relevant to this PR :0 |
@flovilmart Done. |
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.
LGTM! Thanks!
Perfect thansk! |
done(); | ||
}); | ||
|
||
it("should not add a unique hash to the file name when the preserveFileName option is false", (done) => { |
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.
false
should be true
in the description
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.
Oops. My mistake. Should I make another PR fixing it?
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.
Yep go ahead ;)
#4915) * Add the addFileNameHash option that allows users to remove the hash from file names * Change option name to preserveFileName * Revert changes to package-lock.json
#4915) * Add the addFileNameHash option that allows users to remove the hash from file names * Change option name to preserveFileName * Revert changes to package-lock.json
parse-community#4915) * Add the addFileNameHash option that allows users to remove the hash from file names * Change option name to preserveFileName * Revert changes to package-lock.json
Add the addFileNameHash option that allows the removal of the hash from file names, as discussed in #4899.