JustinGrote / JustinGrote/ModuleFast
Add-DestinationToPSModulePath sometimes fails on first init
- 主要语言
- C#
- 星标
- 151
- 派生
- 11
- PR 合并指标
- 30 天内没有已合并 PR
描述

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
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 ModuleFast.psm1 中的 Add-DestinationToPSModulePath 开始,使用报告的第 1708 行以及配置文件更新代码上下文。重现会产生 null 路径 Test-Path 错误的首次初始化路径;首次初始化在没有该错误的情况下完成时即为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100