🐛 Fix list command after merge mistake

This commit is contained in:
Ben Chatelain 2020-09-07 12:20:12 -06:00
parent 659617edbe
commit 83a1da9df7

View file

@ -35,10 +35,13 @@ public struct ListCommand: CommandProtocol {
print("No installed apps found") print("No installed apps found")
return .success(()) return .success(())
} }
for product in products {
let output = AppListFormatter.format(products: products) var appName = product.appName
print(output) if appName == "" {
appName = product.bundleIdentifier
}
print("\(product.itemIdentifier) \(appName) (\(product.bundleVersion))")
}
return .success(()) return .success(())
} }
} }