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

use libnodejs function to resolve nodejs version #15

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

mhdawson
Copy link
Member

@mhdawson mhdawson commented Aug 1, 2023

Summary

Use function added to libnodejs in paketo-buildpacks/libnodejs#14

Use Cases

Use shared functionality from libnodejs where possible

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@thitch97 thitch97 added the semver:patch A change requiring a patch version bump label Aug 17, 2023
generate.go Outdated
entryResolver := draft.NewPlanner()
entry, _ := libnodejs.ResolveNodeVersion(entryResolver.Resolve, context.Plan);
Copy link
Contributor

@thitch97 thitch97 Aug 17, 2023

Choose a reason for hiding this comment

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

@mhdawson Did you still want to keep allEntries around for logging purposes or was this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good, catch I rebased on Costas PR which landed recently and fixed that.

@mhdawson mhdawson force-pushed the use-libnodejs-resolve branch from 15c0bd0 to ad56f1b Compare August 17, 2023 20:00
@mhdawson
Copy link
Member Author

@thitch97 addresed your comment above.

@thitch97 thitch97 merged commit 367b545 into paketo-buildpacks:main Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants