You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running commands when multiple inputs generate the same file will result in the following error message:
Unhandled error: error.DuplicateFile
This is a bug in Zangle, please report it on the issue tracker
along with any information that may help in resolving the bug.
https://github.com/tauoverpi/zangle/issues/new
Expected behaviour:
The error-case should actually be handled and it should state which files were duplicated.
How to reproduce:
Provide multiple files that generate identical files as args
Run commands like zangle ls <files>
Using a directory with two different files generating the same file:
$ zangle ls foobarUnhandled error: error.DuplicateFileThis is a bug in Zangle, please report it on the issue trackeralong with any information that may help in resolving the bug. https://github.com/tauoverpi/zangle/issues/new
Using the same file twice:
$ zangle ls foobar/foo.md foobar/foo.mdUnhandled error: error.DuplicateFileThis is a bug in Zangle, please report it on the issue trackeralong with any information that may help in resolving the bug. https://github.com/tauoverpi/zangle/issues/new
Sample fies:
foobar/foo.md:
```txt file: foobar.md
foo```
foobar/bar.md:
```txt file: foobar.md
bar```
The text was updated successfully, but these errors were encountered:
Issue:
Running commands when multiple inputs generate the same file will result in the following error message:
Expected behaviour:
The error-case should actually be handled and it should state which files were duplicated.
How to reproduce:
zangle ls <files>
Using a directory with two different files generating the same file:
Using the same file twice:
Sample fies:
foobar/foo.md
:foobar/bar.md
:The text was updated successfully, but these errors were encountered: