Skip to content

Artifacts Remain after git checkout #13

@smonasco

Description

@smonasco

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? ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions