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

Don't use process.env.PWD in build #1044

Merged
merged 1 commit into from
Jan 30, 2019
Merged

Don't use process.env.PWD in build #1044

merged 1 commit into from
Jan 30, 2019

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Jan 30, 2019

Building on Windows is not officially supported, but we can easily remove one issue on that platform by removing our use of the PWD environment variable, which won't be set on Windows.

I can't remember why I did it this way, but I am guessing it was to avoid the ugliness of the "../../../..".

Test plan: add a console.log statement to sanity check the constructed path and do npm run build.

Building on Windows is not officially supported, but we can easily
remove one issue on that platform by removing our use of the PWD
environment variable, which won't be set on Windows.

I can't remember why I did it this way, but I am guessing it was to
avoid the ugliness of the "../../../..".

Test plan: add a `console.log` statement to sanity check the constructed
path and do `npm run build`.
@wincent wincent requested a review from julien January 30, 2019 15:20
@julien julien merged commit 6538bd1 into liferay:2.x-develop Jan 30, 2019
@wincent wincent deleted the windows branch January 30, 2019 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants