the-draupnir-project/Draupnir

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

Aberta

#241 aberto em 7 de fev. de 2024

 (2 comentários) (0 reação) (0 responsável)TypeScript (28 forks)auto 404
L1 Very FewP1 NuisanceT3 Workflow Issuegood first issue

Métricas do repositório

Stars
 (239 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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/...)

Guia do colaborador