Conversation

andyleejordan

Also remove one more missed piece of now-redundant code.

@CopilotCopilot AI review requested due to automatic review settings February 26, 2025 22:32
@andyleejordanandyleejordan requested a review from a team as a code owner February 26, 2025 22:32
@andyleejordanandyleejordan enabled auto-merge (squash) February 26, 2025 22:32
@andyleejordanandyleejordan added the IgnoreExclude from the changelog.label Feb 26, 2025

Choose a reason for hiding this comment

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

PR Overview

This PR aims to switch to using the PowerShell Gallery mirror and remove now-redundant commands that registered and installed the PSResource modules.

  • Removed explicit repository registration and module installation commands
  • Replaced multiple inline commands with a single invocation of the installPSResources.ps1 script

Reviewed Changes

FileDescription
.pipelines/vscode-powershell-Official.ymlRemoved redundant code and streamlined mirror usage

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

Comments suppressed due to low confidence (1)

.pipelines/vscode-powershell-Official.yml:175

  • The removal of the explicit repository registration commands assumes that the installPSResources.ps1 script now handles the PSRepository configuration internally. Please verify that this script properly sets up the PowerShell Gallery mirror to ensure module installations work as expected.
- pwsh: ./tools/installPSResources.ps1 -PSRepository CFS

@andyleejordanandyleejordan merged commit 43c8bff into main Mar 3, 2025
7 checks passed
@andyleejordanandyleejordan deleted the mirror branch March 3, 2025 23:45
Sign up for free to join this conversation on . Already have an account? Sign in to comment
IgnoreExclude from the changelog.
None yet

Successfully merging this pull request may close these issues.

@andyleejordan