Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

馃┕ [Patch]: Refactor output handling in main.ps1 for improved readability#33

Merged
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainPSModule/Initialize-PSModule:mainfrom
fixPSModule/Initialize-PSModule:fixCopy head branch name to clipboard
Mar 2, 2025
Merged

馃┕ [Patch]: Refactor output handling in main.ps1 for improved readability#33
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainPSModule/Initialize-PSModule:mainfrom
fixPSModule/Initialize-PSModule:fixCopy head branch name to clipboard

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Mar 2, 2025

Copy link
Copy Markdown
Member

Description

This pull request includes several changes to the scripts/main.ps1 file to improve the readability and output formatting of the script.

The most important changes include:

  • Removed unnecessary Write-Output calls that wrapped the Get-PSResource and Get-Command outputs.
  • Added Out-String to the Format-Table command to ensure the table output is properly formatted as a string.

Type of change

  • 馃摉 [Docs]
  • 馃 [Fix]
  • 馃┕ [Patch]
  • 鈿狅笍 [Security fix]
  • 馃殌 [Feature]
  • 馃専 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.