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

fix(hooks): Do not set INIT_CWD on any hook #493

Merged
merged 1 commit into from
Apr 18, 2018

Conversation

rosen-vladimirov
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov commented Apr 17, 2018

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.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes #494.

@SvetoslavTsenov
Copy link
Contributor

test

1 similar comment
@SvetoslavTsenov
Copy link
Contributor

test

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 force-pushed the vladimirov/fix-init_cwd-set branch from 20db35b to 26b0bc2 Compare April 18, 2018 05:57
@dtopuzov
Copy link
Contributor

test

1 similar comment
@dtopuzov
Copy link
Contributor

test

@dtopuzov dtopuzov merged commit afe6208 into master Apr 18, 2018
@vchimev vchimev deleted the vladimirov/fix-init_cwd-set branch April 18, 2018 07:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants