Skip to content

sanitize appdir variable in case it's coming from a windows environment #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cborchert
Copy link

@cborchert cborchert commented May 16, 2023

I'm pretty sure that we can use the modified appdir everywhere, @dchapkine. In the few cases where the appdir is passed back into the containers, it is often concatenated directly into other paths, which use a standard forward slash, so it makes sense to return the sanitized version.

For example:

relativeTo: `${this.appdir}/res/mjml-mailer/`

in our mailer class

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 this pull request may close these issues.

1 participant