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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: deep merge in source and toml config #220

Merged
merged 5 commits into from
Nov 23, 2022

Conversation

jackiewmacharia
Copy link
Contributor

@jackiewmacharia jackiewmacharia commented Nov 23, 2022

馃帀 Thanks for sending this pull request! 馃帀

Please make sure the title is clear and descriptive.

If you are fixing a typo or documentation, please skip these instructions.

Otherwise please fill in the sections below.

Which problem is this pull request solving?

Example: I'm always frustrated when [...]

List other issues or pull requests related to this problem
This relates to https://github.com/netlify/pod-compute/issues/292

Describe the solution you've chosen

Example: I've fixed this by [...]

Describe alternatives you've considered

Example: Another solution would be [...]

Checklist

Please add a x inside each checkbox:

  • I have read the contribution guidelines.
  • The status checks are successful (continuous integration). Those can be seen below.

A picture of a cute animal (not mandatory but encouraged)

@jackiewmacharia jackiewmacharia requested a review from a team November 23, 2022 15:35

if (path) {
if (config) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't think the else branch will ever be reached, because config has a fallback value of ??. This wasn't the case before, since we were checking the path property specifically.

Or am I holding it wrong?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true, I'll remove the if/else altogether, functionsVisited should still get populated accurately at this point.

@jackiewmacharia jackiewmacharia merged commit e2789e3 into main Nov 23, 2022
@jackiewmacharia jackiewmacharia deleted the fix/deep-merge-isc-and-toml-config branch November 23, 2022 16:45
Skn0tt pushed a commit to netlify/build that referenced this pull request Apr 23, 2024
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