Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displayed paths should be canonized #30

Closed
crowdagger opened this issue Dec 15, 2016 · 0 comments
Closed

Displayed paths should be canonized #30

crowdagger opened this issue Dec 15, 2016 · 0 comments

Comments

@crowdagger
Copy link
Owner

Sometimes, depending on where you run Crowbook from, the printed paths for the documents that can be generated can be unnecessarily verbose, e.g. some_dir/../output/foo.pdf instead of output/foo.pdf. A previous attempt to fix this was done using std::fs::canonicalize, but it caused issues as this function will return an error if the file doesn't already exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant