Skip to content

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

Open
cborchert wants to merge 1 commit intobackkit:mainfrom
cborchert:fix/windows-paths
Open

sanitize appdir variable in case it's coming from a windows environment#1
cborchert wants to merge 1 commit intobackkit:mainfrom
cborchert:fix/windows-paths

Conversation

@cborchert
Copy link
Copy Markdown

@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