h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
317 stars 23 forks source link

unzip operator attempts to resolve specified directory #177

Closed h3rald closed 2 years ago

h3rald commented 2 years ago

At present, the unzip operator attempts to resolve the specified directory in relation to the pwd.

Instead, it should maybe accept input as-is (and maybe do additional checks/create an empty directory).

h3rald commented 2 years ago

Now adding "./" to the start of the directory unless it already includes "/".

This was needed because of the checks made internally by zippy:

https://github.com/guzba/zippy/blob/0f4e264e4eabbc9914032792007575c37fdccfd8/src/zippy/ziparchives.nim#L469

h3rald commented 2 years ago

Fixed in v0.37.0