Skip to content

Conversation

@Sntai20
Copy link
Collaborator

@Sntai20 Sntai20 commented Mar 3, 2025

Refactor code for readability and consistency using the following command:

Invoke-ScriptAnalyzer -Settings .\Hawk\internal\configurations\PSScriptAnalyzerSettings.psd1 -Path .\ -Recurse -Fix -IncludeRule PSAvoidSemicolonsAsLineTerminators
  • Removed unnecessary line breaks in Convert-ReportToHTML.ps1 for streamlined XSLT transformation.
  • Improved readability in Start-SleepWithProgress.ps1 by removing semicolon terminator.
  • Applied similar formatting improvements throughout install.ps1 for cleaner code structure.

- Removed unnecessary line breaks in `Convert-ReportToHTML.ps1` for streamlined XSLT transformation.
- Improved readability in `Start-SleepWithProgress.ps1` by consolidating `$timeleft` calculation.
- Applied similar formatting improvements throughout `install.ps1` for cleaner code structure.
@Sntai20 Sntai20 requested a review from jonnybottles March 3, 2025 01:05
@Sntai20 Sntai20 merged commit a3f9d0e into personal/ansantan/Code-Quality Mar 3, 2025
1 of 2 checks passed
@Sntai20 Sntai20 deleted the personal/ansantan/Code-Quality-PSAvoidSemicolonsAsLineTerminators branch March 3, 2025 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants