Skip to content

Commit

Permalink
Replace "locked" terminology with "held" for consistency
Browse files Browse the repository at this point in the history
This closes #3916.
  • Loading branch information
Calinou committed Apr 6, 2020
1 parent a9fa775 commit 938a5f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libexec/scoop-hold.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $apps | ForEach-Object {
$json | Get-Member -MemberType Properties | ForEach-Object { $install.Add($_.Name, $json.($_.Name))}
$install.hold = $true
save_install_info $install $dir
success "$app is now locked and can not be updated anymore."
success "$app is now held and can not be updated anymore."
}

exit $exitcode
2 changes: 1 addition & 1 deletion libexec/scoop-unhold.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $apps | ForEach-Object {
$json | Get-Member -MemberType Properties | ForEach-Object { $install.Add($_.Name, $json.($_.Name))}
$install.hold = $null
save_install_info $install $dir
success "$app is now unlocked and can be updated again."
success "$app is no longer held and can be updated again."
}

exit $exitcode
2 changes: 1 addition & 1 deletion libexec/scoop-update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ if (!$apps) {
$outdated += applist $app $global
write-host -f yellow ("$app`: $($status.version) -> $($status.latest_version){0}" -f ('',' (global)')[$global])
} else {
warn "'$app' is locked to version $($status.version)"
warn "'$app' is held to version $($status.version)"
}
} elseif ($apps_param -ne '*') {
write-host -f green "$app`: $($status.version) (latest version)"
Expand Down

0 comments on commit 938a5f0

Please sign in to comment.