Azure / Azure/AzureStack-Tools

"Import-Module ..\" is not correct

オープン
#614 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PowerShell
スター
260
フォーク
283
平均マージ
2時間 11分
マージ済み PR(30日)
1

説明

**In https://github.com/Azure/AzureStack-Tools/blob/master/Identity/README.md**
Import-Module ..\Connect\AzureStack.Connect.psm1
Import-Module ..\Identity\AzureStack.Identity.psm1

**importing the above modules throw below exception**
Import-Module : The specified module '..\Connect\AzureStack.Connect.psm1' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module ..\Connect\AzureStack.Connect.psm1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (..\Connect\AzureStack.Connect.psm1:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

**- it should be with single "."**
Import-Module .\Connect\AzureStack.Connect.psm1
Import-Module .\Identity\AzureStack.Identity.psm1

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Open Identity/README.md and review the Import-Module examples for the Connect and Identity modules. Update the documented paths to use .\ instead of ..\, then verify that both examples match the paths shown in the issue.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。