Skip to content

Conversation

jordanbreen28
Copy link
Contributor

Summary

This PR fixes the module hover in metadata.json. Before it was returning just puppetlabs i.e. the module namespace, as oppose to the entire module name for example puppetlabs/stdlib.

Now, this calculates the position and returns the entire string, which can they be used to query the forge api for module data.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

This commit fixes the module hover in metadata.json. Before it was
returning just `puppetlabs` i.e. the module namespace, as oppose
to the entire module name for example `puppetlabs/stdlib`.

Now, this calculates the position and returns the entire string, which
can they be used to query the forge api for module data.
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner March 27, 2024 14:49
Copy link
Contributor

@gavindidrichsen gavindidrichsen left a comment

Choose a reason for hiding this comment

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

LGTM

@gavindidrichsen gavindidrichsen merged commit 38ebc01 into main Mar 27, 2024
@gavindidrichsen gavindidrichsen deleted the bug-fix_metadata_module_hover branch March 27, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants