Skip to content

Add ShouldProcess safeguards to file ops#566

Open
yourlastnamesoundslikeatypeofpasta wants to merge 1 commit into
mainfrom
codex/add-shouldprocess-condition-or-remove-supportsshouldprocess
Open

Add ShouldProcess safeguards to file ops#566
yourlastnamesoundslikeatypeofpasta wants to merge 1 commit into
mainfrom
codex/add-shouldprocess-condition-or-remove-supportsshouldprocess

Conversation

@yourlastnamesoundslikeatypeofpasta

Copy link
Copy Markdown
Owner

Summary

  • guard file write operations with ShouldProcess

File Citations

  • src/SupportTools/Public/Convert-ExcelToCsv.ps1【F:src/SupportTools/Public/Convert-ExcelToCsv.ps1†L38-L52】
  • src/SupportTools/Public/Export-ProductKey.ps1【F:src/SupportTools/Public/Export-ProductKey.ps1†L42-L56】
  • src/SupportTools/Public/Export-ITReport.ps1【F:src/SupportTools/Public/Export-ITReport.ps1†L60-L75】
  • src/SupportTools/Public/Clear-TempFile.ps1【F:src/SupportTools/Public/Clear-TempFile.ps1†L32-L47】
  • src/SupportTools/Public/Invoke-JobBundle.ps1【F:src/SupportTools/Public/Invoke-JobBundle.ps1†L46-L58】
  • src/SupportTools/Public/Sync-SupportTools.ps1【F:src/SupportTools/Public/Sync-SupportTools.ps1†L66-L78】

Test Results

Codex couldn't run certain commands due to environment limitations. Consider configuring a setup script or internet access in your Codex environment to install dependencies.


https://chatgpt.com/codex/tasks/task_e_68474efce9c4832c862eebbce015465c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant