the-draupnir-project/Draupnir

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

Aperta

#241 aperta il 7 feb 2024

 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (28 fork)auto 404
L1 Very FewP1 NuisanceT3 Workflow Issuegood first issue

Metriche repository

Star
 (239 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor