Skip to content

Merge pull request #22 from pwshdevs/feature/self-updater

3dc1668
Select commit
Loading
Failed to load commit list.
Merged

Prep Release 1.0.10 #23

Merge pull request #22 from pwshdevs/feature/self-updater
3dc1668
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / PSScriptAnalyzer succeeded Sep 15, 2025 in 6s

137 new alerts

New alerts in code changed by this pull request

  • 137 warnings

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 9 in DevSetup/Private/3rdParty/ConvertFrom-3rdPartyInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'ConvertFrom-3rdPartyInstall.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'ConvertFrom-3rdPartyInstall.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 15 in DevSetup/Private/3rdParty/ConvertFrom-3rdPartyInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'ConvertFrom-3rdPartyInstall.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'ConvertFrom-3rdPartyInstall.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 6 in DevSetup/Private/3rdParty/VisualStudio/Invoke-VsConfigImport.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Command accepts pipeline input but has not defined a process block. Warning

Command accepts pipeline input but has not defined a process block.

Check warning on line 6 in DevSetup/Private/3rdParty/VisualStudioCode/Invoke-VsCodeExtensionsImport.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Command accepts pipeline input but has not defined a process block. Warning

Command accepts pipeline input but has not defined a process block.

Check warning on line 68 in DevSetup/Private/Providers/Scoop/Install-Scoop.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The parameter 'DryRun' has been declared but not used. Warning

The parameter 'DryRun' has been declared but not used.

Check warning on line 9 in DevSetup/Private/Utils/Assert-DevSetupEnvValid.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The cmdlet 'Test-KeyExists' uses a plural noun. A singular noun should be used instead. Warning

The cmdlet 'Test-KeyExists' uses a plural noun. A singular noun should be used instead.

Check warning on line 52 in DevSetup/Private/Utils/Assert-DevSetupEnvValid.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The parameter 'Context' has been declared but not used. Warning

The parameter 'Context' has been declared but not used.

Check warning on line 1 in DevSetup/Private/Utils/New-DevSetupEnvFile.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Function 'New-DevSetupEnvFile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'New-DevSetupEnvFile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Check warning on line 6 in DevSetup/Private/Utils/Update-DevSetupEnvFile.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Command accepts pipeline input but has not defined a process block. Warning

Command accepts pipeline input but has not defined a process block.

Check warning on line 6 in DevSetup/Private/Utils/Update-DevSetupEnvFile.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Command accepts pipeline input but has not defined a process block. Warning

Command accepts pipeline input but has not defined a process block.

Check warning on line 204 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 205 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 206 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 207 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 208 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 209 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 210 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 211 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 212 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 213 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 214 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 215 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 216 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 217 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 218 in DevSetup/Public/Use-DevSetup.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Use-DevSetup.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.