ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

[Question/Feedback]: .Platform: Update ReadMe status Tables - error

Open Abhimanyu7991 opened this issue 3 years ago • 1 comments

Description

Hi Team,

I have a query regarding the error I am facing for the v0.10 of the repo .Platform: Update ReadMe status Tables is failing with the below error. I saw in logs that the team had resolved it in the past but there's no details on the resolution. Kindly let me know if you have any ideas for the same.

[ ERROR ] Get-ModulesAsMarkdownTable: /home/runner/work/GIS_Azure_GithubActions_Testing/GIS_Azure_GithubActions_Testing/utilities/tools/platform/Set-ReadMeModuleTable.ps1:88 Line | 88 | … bleString = Get-ModulesAsMarkdownTable @tableStringInputObject -Verbo … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | A parameter cannot be found that matches parameter name | 'ProviderNamespace'.

Abhimanyu7991 avatar Sep 06 '23 15:09 Abhimanyu7991

Hey @Abhimanyu7991, I just checked out the release v0.10.0 via

git checkout tags/v0.10.0

and ran the function in question locally

Set-ReadMeModuleTable -FilePath .\README.md -ModulesPath .\modules\ -RepositoryName 'ResourceModules' -Organization 'Azure' -Environment 'GitHub' -Verbose

but was unable to replicate the exception. In any case, where it is failing in your case is somewhere in the Get-ModulesAsarkdownTable function, but unfortunately doesn't say where. Would you be able to run just that function on your local device to determine the exact place?

I also had a rough look at the commits we performed since the previous release, but did not see an obvious change that would explain the behavior in your case.

My best guess right now is that either something was changed in the function, or that the function struggels with something in the /modules folder. But without further insights there is not much to go on. Debugging the issue locally would definitely help.

AlexanderSehr avatar Sep 06 '23 18:09 AlexanderSehr