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

ScubaGear throws warning during update check due to null path #1480

Open
schrolla opened this issue Dec 19, 2024 · 2 comments · May be fixed by #1481
Open

ScubaGear throws warning during update check due to null path #1480

schrolla opened this issue Dec 19, 2024 · 2 comments · May be fixed by #1481
Assignees
Labels
bug This issue or pull request addresses broken functionality
Milestone

Comments

@schrolla
Copy link
Collaborator

🐛 Summary

ScubaGear does a version check on import (which is first use after install from PSGallery). When using a pre-release version v1.5.0-rc2, it failes to execute and throws a path warning.

To reproduce

Steps to reproduce the behavior:

  1. Start with a clean machine without ScubaGear or its dependencies
  2. Install-Module -Name ScubaGear -AllowPrerelease
  3. Invoke-Scuba -Version

Expected behavior

ScubaGear to run with the dependent modules warning, but not the version check fail nor the 'Path' error.

Any helpful log output or screenshots

From clean machine, install ScubaGear v1.5.0-rc2 from PSGallery then issue Invoke-Scuba -Version and get cannot bind error.
Image

@schrolla schrolla added the bug This issue or pull request addresses broken functionality label Dec 19, 2024
@twneale
Copy link
Collaborator

twneale commented Dec 19, 2024

I brilliantly left in a reference to $VersionCheckFile which is undefined. I will submit a PR.

@twneale twneale self-assigned this Dec 19, 2024
@twneale twneale linked a pull request Dec 19, 2024 that will close this issue
21 tasks
@buidav
Copy link
Collaborator

buidav commented Dec 19, 2024

I should clear out my temp directory. 😂

@schrolla schrolla added this to the Lionfish milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants