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

File paths containing "." cause export errors #2

Open
JoeOsborn opened this issue Jul 30, 2020 · 0 comments
Open

File paths containing "." cause export errors #2

JoeOsborn opened this issue Jul 30, 2020 · 0 comments

Comments

@JoeOsborn
Copy link

I'm not sure that string splitting on "." here is the right move to get the file path without extension:

(file (car (split-string file.ext "\\.")))

If I use a path like ../img/whatever.png the filename is just the empty string, which is not ideal. Locally I replaced this binding with (file-name-sans-extension file.ext) and it seems to work much better.

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