janet-lang / spork

Various Janet utility modules - the official "Contrib" library.
MIT License
122 stars 35 forks source link

fixed path/relpath and added example for it in documentation #80

Closed tionis closed 2 years ago

tionis commented 2 years ago

I discovered a special case with triggered an error in the implementation.
Fixed it and added a test case for the previously broken case.
Also added an example for path/relpath to the documentation