Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Conversation

@rosen-vladimirov
Copy link
Contributor

Previously the INIT_CWD environment variable was set only in one of the hooks. In a recent PR, we've changed the logic of all before-* hooks to set the INIT_CWD environment variable.
After some discussions and investigation, we've found that we do not need the INIT_CWD variable. So remove the setting of the variable from all hooks and delete the method that sets it.

This PR is a combination of:

PR Checklist

What is the current behavior?

All before-* hooks set the INIT_CWD environment variable.

What is the new behavior?

None of the hooks set the INIT_CWD environment variable.

Previously the INIT_CWD environment variable was set only in one of the hooks. In a recent PR, we've changed the logic of all `before-*` hooks to set the INIT_CWD environment variable. After some discussions and investigation, we've found that we do not need the INIT_CWD variable. So remove the setting of the variable from all hooks and delete the method that sets it.
@rosen-vladimirov rosen-vladimirov self-assigned this Apr 3, 2018
@rosen-vladimirov
Copy link
Contributor Author

This will not work when nativescript-dev-webpack is used from symlink. So we'll keep using the INIT_CWD env variable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants