Skip to content

Rename --pathToMake to --pathToElm#2

Open
TSFoster wants to merge 1 commit into
ThinkAlexandria:masterfrom
TSFoster:pathToElm
Open

Rename --pathToMake to --pathToElm#2
TSFoster wants to merge 1 commit into
ThinkAlexandria:masterfrom
TSFoster:pathToElm

Conversation

@TSFoster

@TSFoster TSFoster commented Jun 17, 2019

Copy link
Copy Markdown

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