Skip to content

Commit

Permalink
Update warning message grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
schrolla authored Jan 21, 2025
1 parent 04f27df commit adbec61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerShell/ScubaGear/CheckVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function Invoke-CheckScubaGearVersion {
$CurrentVersion = [System.Version]$ScubaManifest.ModuleVersion
$LatestVersion = [System.Version]$(Invoke-RestMethod -Uri "https://api.github.com/repos/cisagov/ScubaGear/releases/latest" -ErrorAction 'Stop').tag_name.TrimStart("v")
if ($CurrentVersion -lt $LatestVersion) {
Write-Warning "A new version of ScubaGear ($latestVersion) is available. Please consider updating at: https://github.com/cisagov/ScubaGear/releases. This notification can be disabled by setting `$env:SCUBAGEAR_SKIP_VERSION_CHECK = `$true before running ScubaGear."
Write-Warning "A newer version of ScubaGear ($latestVersion) is available. Please consider updating at: https://github.com/cisagov/ScubaGear/releases. This notification can be disabled by setting `$env:SCUBAGEAR_SKIP_VERSION_CHECK = `$true before running ScubaGear."
}
}

Expand Down

0 comments on commit adbec61

Please sign in to comment.