Skip to content

Commit

Permalink
fix(scoop-status): Correct formatting of Info output (ScoopInstalle…
Browse files Browse the repository at this point in the history
…r#5047)

* fix(scoop-status): Correct formatting of `Info` output

* Update CHANGELOG.md
  • Loading branch information
L. Yeung authored Jul 15, 2022
1 parent 80b52e3 commit 664e667
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [Unreleased](https://github.com/ScoopInstaller/Scoop/compare/master...develop)

### Bug Fixes

- **scoop-status:** Correct formatting of `Info` output ([#5047](https://github.com/ScoopInstaller/Scoop/issues/5047))

## [v0.2.3](https://github.com/ScoopInstaller/Scoop/compare/v0.2.2...v0.2.3) - 2022-07-07

### Features
Expand Down
2 changes: 1 addition & 1 deletion libexec/scoop-status.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $true, $false | ForEach-Object { # local and global apps
$item.'Installed Version' = $status.version
$item.'Latest Version' = if ($status.outdated) { $status.latest_version } else { "" }
$item.'Missing Dependencies' = $status.missing_deps -Split ' ' -Join ' | '
$info = $()
$info = @()
if ($status.failed) { $info += 'Install failed' }
if ($status.hold) { $info += 'Held package' }
if ($status.removed) { $info += 'Manifest removed' }
Expand Down

0 comments on commit 664e667

Please sign in to comment.