fix: Show manifest name while reviewing

Useful when Scoop installs dependencies and shows their manifests first
This commit is contained in:
Rashil Gandhi
2021-12-23 17:00:06 +05:30
parent dec2598052
commit fb496c482b
+1 -1
View File
@@ -35,7 +35,7 @@ function install_app($app, $architecture, $global, $suggested, $use_cache = $tru
}
if ((get_config 'manifest-review' $false) -and ($MyInvocation.ScriptName -notlike '*scoop-update*')) {
Write-Output 'Manifest:'
Write-Output "Manifest: $app.json"
Write-Output $manifest | ConvertToPrettyJson
$answer = Read-Host -Prompt "Continue installation? [Y/n]"
if (($answer -eq 'n') -or ($answer -eq 'N')) {