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

Change param validation to verbose output #98

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SteamPS/Public/Server/Update-SteamApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
.EXAMPLE
Update-SteamApp -ApplicationName 'Arma 3' -Credential 'Toby' -Path 'C:\DedicatedServers\Arma3'

Because there are multiple hits when searching for Arma 3, the user will be promoted to select the right application.
Because there are multiple hits when searching for Arma 3, the user will be promted to select the right application.

.EXAMPLE
Update-SteamApp -AppID 376030 -Path 'C:\DedicatedServers\ARK-SurvivalEvolved'
Expand Down Expand Up @@ -70,7 +70,7 @@
)]
[ValidateScript({
if ($null -eq (Get-SteamApp -ApplicationID $_)) {
throw "ApplicationID $_ couldn't be found."
Write-Verbose -Message "ApplicationID $_ couldn't be found using the Steam Web API. Continuing anyway as the application might exist."

Check warning on line 73 in SteamPS/Public/Server/Update-SteamApp.ps1

View check run for this annotation

Codecov / codecov/patch

SteamPS/Public/Server/Update-SteamApp.ps1#L73

Added line #L73 was not covered by tests
}
$true
})]
Expand Down