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

Rename --pathToMake to --pathToElm #2

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

Conversation

TSFoster
Copy link

@TSFoster TSFoster commented Jun 17, 2019

Hi,

node-elm-compiler changed from using the --pathToMake flag to using the --pathToElm flag when v.19 was released, but css-in-elm (and its help docs) are still trying to use the old flag, so it errors when you try to use either.

This PR is basically a find and replace of pathToMake → pathToElm. I've tested it with my project, although a relative path doesn't seem to work, at least when calling js/cli.js directly, e.g. calling ../css-in-elm/js/cli.js --pathToElm node_modules/.bin/elm from my project directory doesn't work, but ../css-in-elm/js/cli.js --pathToElm $PWD/node_modules/.bin/elm does. I suspect it might work when calling the linked css-in-elm executable, though?

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