Skip to content

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug 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

@MariusStorhaug MariusStorhaug self-assigned this Mar 2, 2025
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner March 2, 2025 09:15
@MariusStorhaug MariusStorhaug merged commit af25757 into main Mar 2, 2025
10 checks passed
@MariusStorhaug MariusStorhaug deleted the fixOutputs branch March 2, 2025 09:17
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