You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In libexec/scoop_reset.ps1 , line 42
I think you need to pass the 2nd argument to the function installed in the if condition as (installed $app $global) in order to correctly reset globally installed package. otherwise it just exits with error saying "ERROR pkg isn't installed"
$app, $bucket, $version = parse_app $app
if(($global -eq $null) -and (installed $app $true)) {
# set global flag when running reset command on specific app
$global = $true
}
if($app -eq 'scoop') {
# skip scoop
return
}
if(!(installed $app)) { // BUG HERE
error "'$app' isn't installed"
return
}
if ($null -eq $version) {
$version = Select-CurrentVersion -AppName $app -Global:$global
}
Bug Report
Current Behavior
Expected Behavior
Additional context/output
Possible Solution
System details
Windows version: [e.g. 7, 8, 10]
OS architecture: [e.g. 32bit, 64bit]
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
//# Your configuration here
The text was updated successfully, but these errors were encountered:
In libexec/scoop_reset.ps1 , line 42
I think you need to pass the 2nd argument to the function
installed
in the if condition as(installed $app $global)
in order to correctly reset globally installed package. otherwise it just exits with error saying "ERROR pkg isn't installed"Bug Report
Current Behavior
Expected Behavior
Additional context/output
Possible Solution
System details
Windows version: [e.g. 7, 8, 10]
OS architecture: [e.g. 32bit, 64bit]
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"
]Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
//# Your configuration here
The text was updated successfully, but these errors were encountered: