Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in update-dmarcRuaReportDatabase where Remove-EmptyDirectory is called incorrectly #2

Open
DelectableMechanisations opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DelectableMechanisations
Copy link
Owner

VERBOSE: ---- Step 1 of 4 ----
Importing raw email attachment files that haven't previously been processed based on their file hash.
Import Path: \?\C:!_TempFileStore\DmarcTest\ImportData
Export Path: \?\C:!_TempFileStore\DmarcTest\Databases\UnprocessedRawAttachment
File Extensions: *.7z *.gz *.rar *.tar *.x *.zip

Remove-EmptyDirectory: C:\Users\baumbachd\OneDrive - Christchurch City Council\Documents\PowerShell\Modules\DmarcRuaReporting\0.1.0\Private\Add-FileToHashDatabase.ps1:123
Line |
123 | Remove-EmptyDirectory -LiteralPath $ImportDirectoryPath
| ~~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'LiteralPath'. The " Test-Path -LiteralPath $_ -PathType Container "
| validation script for the argument with value "\?\C:!_TempFileStore\DmarcTest\ImportData" did not return a
| result of True. Determine why the validation script failed, and then try the command again.

VERBOSE: ---- Step 2 of 4 ----
Expanding/unzipping raw email attachment files to extract the compressed .xml based report inside them.
Import Path: \?\C:!_TempFileStore\DmarcTest\Databases\UnprocessedRawAttachment
Export Path (.xml files): \?\C:!_TempFileStore\DmarcTest\ImportData
Backup of original files: \?\C:!_TempFileStore\DmarcTest\Databases\ProcessedRawAttachment
File Extensions: *.7z *.gz *.rar *.tar *.x *.zip

@DelectableMechanisations DelectableMechanisations added the bug Something isn't working label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant