Skip to content

🩹 [Patch]: Update output formatting#73

Merged
Marius Storhaug (MariusStorhaug) merged 1 commit intomainfrom
fixOutputs
Mar 2, 2025
Merged

🩹 [Patch]: Update output formatting#73
Marius Storhaug (MariusStorhaug) merged 1 commit intomainfrom
fixOutputs

Conversation

@MariusStorhaug
Copy link
Copy Markdown
Member

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

Description

This pull request includes changes to the scripts/main.ps1 file to ensure that all formatted outputs are converted to strings. This change improves the readability and consistency of the script's output.

The most important changes include:

  • Added Out-String to the environment variables listing command to ensure the output is a string.
  • Added Out-String to the GitHub event JSON and object information commands to convert the formatted list output to a string. [1] [2]
  • Added Out-String to the pull request details and labels commands to convert the formatted list output to a string.
  • Added Out-String to the releases listing command to ensure the output is a string.
  • Added Out-String to the prereleases listing command to convert the formatted table output to 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