Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2025

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