Skip to content

Commit bf39b54

Browse files
🩹 [Patch]: Fix output formatting (#8)
## Description This pull request includes a small change to the `scripts/main.ps1` file. The change modifies the output formatting by adding `Out-String` to the pipeline. * [`scripts/main.ps1`](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L23-R23): Added `Out-String` to the pipeline after `Format-List` to ensure the output is properly formatted as a string. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent b4712e1 commit bf39b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $settingsFilePath = switch -Regex ($settings) {
2020
CodePath = $codePath
2121
TestPath = $testPath
2222
SettingsFilePath = $settingsFilePath
23-
} | Format-List
23+
} | Format-List | Out-String
2424

2525
Set-GitHubOutput -Name Settings -Value $settings
2626
Set-GitHubOutput -Name CodePath -Value $codePath

0 commit comments

Comments
 (0)