JustinGrote / JustinGrote/ModuleFast

Add-DestinationToPSModulePath sometimes fails on first init

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
151
Forks
11
PR merge metrics
No merged PRs in 30d

Description

![Image](https://github.com/user-attachments/assets/ca7dd230-d0b5-45c6-a7f9-45105b86e9d6)

EDIT: This appears to be an issue in the profile update code.
```
PS D:\MicrosoftMvp> $error[0]
Test-Path: Value cannot be null. (Parameter 'The provided Path argument was null or an empty collection.')

PS D:\MicrosoftMvp> $error[0].ScriptStackTrace
at Add-DestinationToPSModulePath, C:\Users\JGrote\Documents\PowerShell\Modules\ModuleFast\0.2.0\ModuleFast.psm1: line 1708
at Install-ModuleFast, C:\Users\JGrote\Documents\PowerShell\Modules\ModuleFast\0.2.0\ModuleFast.psm1: line 302
at , : line 1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.