Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix normalize output function#77

Merged
AmelBawa-msft merged 1 commit into
mainmicrosoft/WindowsDeveloperConfig:mainfrom
user/amelbawa/powershell-testsmicrosoft/WindowsDeveloperConfig:user/amelbawa/powershell-testsCopy head branch name to clipboard
Jun 15, 2026
Merged

Fix normalize output function#77
AmelBawa-msft merged 1 commit into
mainmicrosoft/WindowsDeveloperConfig:mainfrom
user/amelbawa/powershell-testsmicrosoft/WindowsDeveloperConfig:user/amelbawa/powershell-testsCopy head branch name to clipboard

Conversation

@AmelBawa-msft

@AmelBawa-msft AmelBawa-msft commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

This pull request makes a small change to the Normalize-Output function in src/tests/_harness/run-flow.ps1 to ensure that the $lines variable is always an array, even when the input is empty or contains a single line. This improves consistency and prevents potential issues with variable types.

@AmelBawa-msft AmelBawa-msft requested a review from crutkas June 15, 2026 01:24
@AmelBawa-msft AmelBawa-msft merged commit dadeab2 into main Jun 15, 2026
12 checks passed
@AmelBawa-msft AmelBawa-msft deleted the user/amelbawa/powershell-tests branch June 15, 2026 17:28
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.