Skip to content

Commit ee2f3b0

Browse files
committed
fix(failed): Fix 'failed()' that doesn't recognize app name with bucket
1 parent 64c2333 commit ee2f3b0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/install.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,7 @@ function prune_installed($apps, $global) {
10791079

10801080
# check whether the app failed to install
10811081
function failed($app, $global) {
1082+
$app = ($app -split '/|\\')[-1]
10821083
return (is_directory (appdir $app $global)) -and !(Select-CurrentVersion -AppName $app -Global:$global)
10831084
}
10841085

0 commit comments

Comments
 (0)