Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Use of home (~) in reporter output file names doesn't work #48

Closed
ecordell opened this issue Feb 27, 2014 · 1 comment · Fixed by #59
Closed

Use of home (~) in reporter output file names doesn't work #48

ecordell opened this issue Feb 27, 2014 · 1 comment · Fixed by #59

Comments

@ecordell
Copy link
Contributor

If you run with -r markdown -o ~/test.md, dredd exits with an error similar to:

error:  errno=34, code=ENOENT, path=/current-working-directory/Users/evan/test.md
@ecordell
Copy link
Contributor Author

ecordell commented Mar 3, 2014

Looks like file.path.abspath(path) in the file package would fix this cleanly:

Expands ".", "..", "~" and non root paths to their full absolute path. Relative paths default to being children of the current working directory.

ecordell pushed a commit to localmed/dredd that referenced this issue Mar 10, 2014
ecordell pushed a commit to localmed/dredd that referenced this issue Mar 10, 2014
netmilk pushed a commit that referenced this issue Mar 11, 2014
Better file handling for reporters (fixes #48 and #57)
artem-zakharchenko pushed a commit that referenced this issue Oct 9, 2019
Travis CI probably purges node_modules before deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants