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

Add support for 'dir' param in hooks. Fix bug with var parsing. #153

Merged
merged 3 commits into from Jan 26, 2024

Conversation

brikis98
Copy link
Member

Description

This PR extracts two improvements from #125:

  1. Add support for a dir parameter in hooks for specifying the working directory.
  2. Fix a bug with --var parsing where it wasn't handling an = in the value correctly.

Since #125 is a hackday and not likely to merge soon, I moved these improvements into a separate PR so we can get them merged ASAP. Also, in this separate PR, I added automated tests for these improvements.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].

Migration Guide

Copy link
Contributor

@yhakbar yhakbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brikis98
Copy link
Member Author

Thanks for the review! Merging now.

@brikis98 brikis98 merged commit fedd185 into master Jan 26, 2024
3 checks passed
@brikis98 brikis98 deleted the enhancement/command-dir branch January 26, 2024 22:37
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.

None yet

2 participants