Skip to content

Commit

Permalink
Merge pull request #16176 from MikeMcQuaid/cask_json_installed_time
Browse files Browse the repository at this point in the history
cask: add `installed_time` to JSON output.
  • Loading branch information
MikeMcQuaid authored Nov 3, 2023
2 parents a4b4b90 + 54012f1 commit e8290c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cask/cask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def to_h
"appcast" => appcast,
"version" => version,
"installed" => installed_version,
"installed_time" => install_time&.to_i,
"outdated" => outdated?,
"sha256" => sha256,
"artifacts" => artifacts_list,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"appcast": null,
"version": "1.2.3",
"installed": null,
"installed_time": null,
"outdated": false,
"sha256": "c64c05bdc0be845505d6e55e69e696a7f50d40846e76155f0c85d5ff5e7bbb84",
"artifacts": [
Expand Down

0 comments on commit e8290c2

Please sign in to comment.