This PR updates the behavior of creating directories for analysis output. All relative paths will be relative to "out" directory.
Testing Instructions
Commands like npm run cli -- -u https://www.aljazeera.com/ -d foo or npm run cli -- -u https://www.aljazeera.com/ -d ./foo should make a directory relative to "out" directory, not the project root
Checklist
[x] I have thoroughly tested this code to the best of my abilities.
[x] I have reviewed the code myself before requesting a review.
[ ] This code is covered by unit tests to verify that it works as intended.
[x] The QA of this PR is done by a member of the QA team (to be checked by QA).
Description
This PR updates the behavior of creating directories for analysis output. All relative paths will be relative to "out" directory.
Testing Instructions
Commands like
npm run cli -- -u https://www.aljazeera.com/ -d foo
ornpm run cli -- -u https://www.aljazeera.com/ -d ./foo
should make a directory relative to "out" directory, not the project rootChecklist
Fixes #626