When passing the output path to either of the binaries, the files will end up in the current directory joined with the passed in path instead of using the output path as an absolute value.
Reproduction
Run npx @unlighthouse/cli --build-static --output-path /tmp/unlighthouse0123456789 --site https://devminer.xyz
Check your /tmp folder, the files won't be there
Check ./tmp and they'll be there instead
ℹ️ The output will also show the wrong path [Unlighthouse] ✔ Static report is ready for uploading: ./tmp/unlighthouse0123456789 (notice the .)
Describe the bug
When passing the output path to either of the binaries, the files will end up in the current directory joined with the passed in path instead of using the output path as an absolute value.
Reproduction
npx @unlighthouse/cli --build-static --output-path /tmp/unlighthouse0123456789 --site https://devminer.xyz
/tmp
folder, the files won't be there./tmp
and they'll be there insteadℹ️ The output will also show the wrong path
[Unlighthouse] ✔ Static report is ready for uploading: ./tmp/unlighthouse0123456789
(notice the.
)System / Nuxt Info