the-draupnir-project/Draupnir

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

Ouverte

#241 ouverte le 7 févr. 2024

 (2 commentaires) (0 réaction) (0 personne assignée)TypeScript (28 forks)auto 404
L1 Very FewP1 NuisanceT3 Workflow Issuegood first issue

Métriques du dépôt

Stars
 (239 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur