You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened? Provide a clear and concise description of the bug, including deployment details.
When you execute the "Invoke-PolicyToBicep.ps1" script located at ".github\scripts\Invoke-PolicyToBicep.ps1," it attempts to use a custom function called "Edit-LineEnding."
However, this function is not present in the ".ps1" script itself. I've searched the repository, but I couldn't find any references to this function. Can you please clarify where this function is supposed to come from?
Please provide the correlation id associated with your error or bug.
No response
What was the expected outcome?
You can call function Update-FileLineEndingType without error.
Relevant log output
Edit-LineEnding:
Line |
49 | (Get-Content $filePath| Edit-LineEnding -LineEnding $LineEnding) | …
|~~~~~~~~~~~~~~~
| The term 'Edit-LineEnding' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Check previous GitHub issues
I have searched the issues for this item and found no duplicate
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hi @KeysAU, sorry for any confusion. This function is now included within the ALZ-PowerShell-Module. Once you go ahead and install that module, you should be able to call that function.
I'll go ahead and update these scripts and the script comments before closing this out.
What happened? Provide a clear and concise description of the bug, including deployment details.
When you execute the "Invoke-PolicyToBicep.ps1" script located at ".github\scripts\Invoke-PolicyToBicep.ps1," it attempts to use a custom function called "Edit-LineEnding."
However, this function is not present in the ".ps1" script itself. I've searched the repository, but I couldn't find any references to this function. Can you please clarify where this function is supposed to come from?
Please provide the correlation id associated with your error or bug.
No response
What was the expected outcome?
You can call function Update-FileLineEndingType without error.
Relevant log output
Check previous GitHub issues
Code of Conduct
The text was updated successfully, but these errors were encountered: