Skip to content

Commit a10212b

Browse files
🩹 [Patch]: Get hidden files of working directory (#6)
## Description This pull request includes a modification to the `scripts/main.ps1` file to enhance the logging of the file system. Enhancements to file system logging: * [`scripts/main.ps1`](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L70-R70): Updated the `Get-ChildItem` command to include hidden files by using the `-Force` parameter and simplified the `Select-Object` command by directly expanding the `FullName` property. ## 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 132fab0 commit a10212b

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
@@ -67,7 +67,7 @@ LogGroup 'Context: [INPUTS]' {
6767
}
6868

6969
LogGroup "File system at [$pwd]" {
70-
Get-ChildItem -Path . | Select-Object FullName | Sort-Object FullName | Format-Table -AutoSize -Wrap
70+
Get-ChildItem -Path . -Force | Select-Object -ExpandProperty FullName | Sort-Object
7171
}
7272

7373
LogGroup 'Environment Variables' {

0 commit comments

Comments
 (0)