Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Add cwd for .mjmlconfig support #6

Merged
merged 1 commit into from
Jul 10, 2017

Conversation

cbrevik
Copy link
Contributor

@cbrevik cbrevik commented Jul 6, 2017

Partly fixes the problem in #5.

Fixes rendering, but still linting errors until you run render or preview.

Passes in the VSCode workspace dir as cwd which is picked up here.

Which in turn then can find the .mjmlconfig file. This presupposes that your .mjmlconfig file is at the root of the current workspace directory of course.

I haven't worked a whole lot with VSCode extensions before though, so might be a better way to do this?

@attilabuti
Copy link
Owner

Thanks, @cbrevik! Merging it.

@attilabuti attilabuti merged commit 88f489f into attilabuti:master Jul 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants