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

Does not accept absolute paths to SVG #25

Open
pmatos opened this issue Jul 21, 2022 · 2 comments · May be fixed by #26
Open

Does not accept absolute paths to SVG #25

pmatos opened this issue Jul 21, 2022 · 2 comments · May be fixed by #26

Comments

@pmatos
Copy link

pmatos commented Jul 21, 2022

Hi,

I am using your project as a intermediary in another plugin that creates a temporary file in /tmp/. Unfortunately when I pass this pass to the GetSVGContents, a dot is prefixed to the path:

const relativeFilePath = `.${this.file}`;

This creates a relative path, but it breaks absolute paths.

@pmatos pmatos linked a pull request Jul 21, 2022 that will close this issue
@saiballo
Copy link

same problem here. how can i solve it?

@saiballo
Copy link

Please @brob can you merge the pull request please? Thank you

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.

2 participants