Skip to content

🩹 [Patch]: Remove dependency on Utilities#74

Merged
Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom
removeUtilitiesReq
Mar 7, 2025
Merged

🩹 [Patch]: Remove dependency on Utilities#74
Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom
removeUtilitiesReq

Conversation

@MariusStorhaug
Copy link
Copy Markdown
Member

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

Description

This pull request makes several changes to the scripts/main.ps1 file to simplify the code and improve readability. The most important changes include removing unnecessary library loading, eliminating the logging of environment variables, and refining the configuration settings.

  • Fixes an issue where the dependency installation fails. Removing the dependency with issues to restore functionality.

Code simplification and improvement:

  • Removed the loading of the 'Utilities' library from the LogGroup 'Loading libraries' section. (scripts/main.ps1)
  • Removed the LogGroup 'Environment variables' section entirely, which logged environment variables. (scripts/main.ps1)
  • Replaced the IsNotNullOrEmpty method with [string]::IsNullOrEmpty for checking configuration values and environment variables, which simplifies the code. (scripts/main.ps1)

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

Copilot AI review requested due to automatic review settings March 7, 2025 20:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@MariusStorhaug Marius Storhaug (MariusStorhaug) merged commit b918423 into main Mar 7, 2025
10 checks passed
@MariusStorhaug Marius Storhaug (MariusStorhaug) deleted the removeUtilitiesReq branch March 7, 2025 20:36
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.

2 participants