the-draupnir-project/Draupnir

Relative dataPath directory support implementation is relative to install directory, not current working directory

Offen

#241 geöffnet am 07.02.2024

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (28 Forks)auto 404
L1 Very FewP1 NuisanceT3 Workflow Issuegood first issue

Repository-Metriken

Stars
 (239 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

https://github.com/the-draupnir-project/Draupnir/blob/faee9367af5a3041368152d451e38c8d7be630dc/src/index.ts#L69

If a relative path is passed, it ends up evaluating to $DIST/../$DATA_PATH, rather than ./$DATA_PATH. This becomes an issue once you are not in the workspace (eg. you've installed Draupnir on nix, where it lives in /nix/store/awewaef3-draupnir-1.86.1/...)

Contributor Guide