cracks
cracks copied to clipboard
Artifacts Remain after git checkout
I added a new functionality. Some duration formatting utilities for videos. Along with it came a duration-util.test.js
file and updates to a test-data.js
file. Both in the tests
directory.
The duration-util.test.js
file is dependent on the changes to the test-data.js
file.
After the git checkout the duration-util.test.js
file remained though the test-data.js
file was rolled back. This caused false positive test errors.
Locally, I added a rm -rf tests
line to the index.js file in dist right before the git checkout
and it cleaned up my problem.
Since, you are effectively replacing everything in the git checkout
list this may be ok as long as some scrubbing occurs to ensure no one is accidentally passing in --paths /,foo
, know what I mean? ;-)