Commit aee74ed
authored
🩹 [Patch]: Refactor output handling in main.ps1 for improved readability (#33)
## Description
This pull request includes several changes to the `scripts/main.ps1`
file to improve the readability and output formatting of the script.
The most important changes include:
* Removed unnecessary `Write-Output` calls that wrapped the
`Get-PSResource` and `Get-Command` outputs.
* Added `Out-String` to the `Format-Table` command to ensure the table
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]
- [ ] 1 parent 63e7978 commit aee74ed
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
0 commit comments