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

[Feature] Implement INIT_CWD #538

Closed
arcanis opened this issue Oct 19, 2019 · 1 comment
Closed

[Feature] Implement INIT_CWD #538

arcanis opened this issue Oct 19, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@arcanis
Copy link
Member

arcanis commented Oct 19, 2019

Describe the user story

I'm the Yarn maintainer and Husky's latest release broke 😄

Describe the solution you'd like

We need to implement INIT_CWD, which is the cwd where the command was run (instead of the one where the script is defined). It seems to be a quite reasonable feature, so let's do it!

In term of implementation, it's mostly about exposing the initialCwd property from the configuration into a INIT_CWD field in the scriptUtils env method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant