bcpeinhardt / simplifile

Simple file operations for Gleam that work on all targets (Erlang/Node/Deno)
71 stars 10 forks source link

Bug: `get_files` returns filepaths with duplicate slashes when the directory name has a trailing slash #18

Closed TanklesXL closed 7 months ago

TanklesXL commented 7 months ago

given the call simplifile.get_files("./static/posts/") and static/posts having the file test_post.md, the returned path is falsely "./static/posts//test_post.md"

bcpeinhardt commented 7 months ago

Fixed :) just upgrade v1.1.0 -> v1.1.1 :)