Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors when using root (/) as TARGET_DIR (#25)
Previously, using `/` as `TARGET_DIR` lead to a situation where the string got converted to an empty string when trimming away the trailing slashes. This PR fixes the issue by updating the `trim_trailing_slash` method to skip trimming for strings with length `1`. Co-authored-by: {{NAME}} <{{EMAIL}}>
- Loading branch information