Skip to content

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

Merged
MariusStorhaug merged 1 commit intomainfrom
fix
Mar 2, 2025
Merged

🩹 [Patch]: Refactor output handling in main.ps1 for improved readability#33
MariusStorhaug merged 1 commit intomainfrom
fix

Conversation

@MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Mar 2, 2025

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

@MariusStorhaug MariusStorhaug requested a review from a team as a code owner March 2, 2025 09:23
@MariusStorhaug MariusStorhaug merged commit aee74ed into main Mar 2, 2025
10 checks passed
@MariusStorhaug MariusStorhaug deleted the fix branch March 2, 2025 09:31
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