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

If post_baseDir ends in /, the relPaths are wrong #185

Closed
reidsunderland opened this issue Nov 19, 2024 · 0 comments · Fixed by #186
Closed

If post_baseDir ends in /, the relPaths are wrong #185

reidsunderland opened this issue Nov 19, 2024 · 0 comments · Fixed by #186

Comments

@reidsunderland
Copy link
Member

if you set post_baseDir /home/me/, 1 too many characters are removed from the string that becomes relPath:

[INFO] shim published: { "pubTime":"20241119214913.65838401", "baseUrl":"file:/home/me", "relPath":"r3c-issue140/file_to_remove1", "topic":"v03.post.r3c-issue140", "toto":"pig", "blank":"", "home":"/home/me", "fileOp" : { "remove":""}}

Noticed while working on #140 and I'll fix it in the same branch.

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

Successfully merging a pull request may close this issue.

1 participant