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
Using zangle with directories with a trailing slash causes a linking error:
$ zangle ls a/a/y.md: line: 1 col: 1 reason: missing_symbol context: yerror: LinkingFailed/nix/store/jz6fyj4c0c67z7f4iwisj3aypwkq2flf-zig-0.11.0-dev.3348+3faf376b0/lib/std/array_list.zig:0:0: 0x2106d3 in main (zangle)/home/plumeus/.cache/zig/p/1220cee43eb2a5f3204909b2457a431f2816e1bcceb2eb251d3613808a9a30e85d9f/tools/zangle.zig:0:0: 0x20f4c5 in main (zangle)
Expected behaviour:
The command should behave the same whether the trailing slash exists or not, as shown below:
$ zangle ls ax.txt
$ zangle tangle a && cat $(zangle ls a)Lorem ipsum
How to reproduce:
Make a directory containing one file that depends on another file in the same directory (example provided below)
Run zangle <command> <dir>/ where the command could be something like ls or graph
Files used for reproducing:
a/x.md:
```txt file: x.txt
[[a/y.md::y]]```
a/y.md:
```whatever tag: y
Lorem ipsum```
The text was updated successfully, but these errors were encountered:
# These are fine
$ zangle ls ./a/x.md a/y.md
$ zangle ls a/./x.md a/y.md
$ zangle ls a//x.md a/y.md
# These aren't
$ zangle ls a/x.md ./a/y.md
$ zangle ls a/x.md a/./y.md
$ zangle ls a/x.md a//y.md
sagehane
changed the title
Linking error with directories with a trailing slash as args
Linking error with certain path notations
Jun 3, 2023
Issue:
Using zangle with directories with a trailing slash causes a linking error:
Expected behaviour:
The command should behave the same whether the trailing slash exists or not, as shown below:
How to reproduce:
zangle <command> <dir>/
where the command could be something likels
orgraph
Files used for reproducing:
a/x.md
:a/y.md
:The text was updated successfully, but these errors were encountered: