aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-03-17 15:01:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-03-18 10:06:59 +0300
commit01fbbe565ce8eb7afc91c51821dfd96235491a7b (patch)
tree96475c08d651e5e1ace18ef162813e7840d4421d
parent8ff6314283396a60ae9806a03f1c017bdc3ec4cc (diff)
Minor optimization of generating JSON output for pkg-status
-rw-r--r--bpkg/pkg-status.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx
index 93008a8..46abbea 100644
--- a/bpkg/pkg-status.cxx
+++ b/bpkg/pkg-status.cxx
@@ -340,7 +340,7 @@ namespace bpkg
//
if (s != nullptr || p.version.empty ())
{
- ss.member_name ("available_versions");
+ ss.member_name ("available_versions", false /* check */);
// Serialize an available package version.
//
@@ -400,7 +400,7 @@ namespace bpkg
if (!dpkgs.empty ())
{
- ss.member_name ("dependencies");
+ ss.member_name ("dependencies", false /* check */);
pkg_status_json (o, dpkgs, ss, recursive, false /* immediate */);
}
}