From 5d6e56b67cb3321ede2cc9fa8b44c3e82af830c9 Mon Sep 17 00:00:00 2001 From: Brodi <69462234+brodi1@users.noreply.github.com> Date: Thu, 13 Oct 2022 16:21:58 +0200 Subject: [PATCH] fix invalid json output by adding a missing comma --- src/debug/HyprCtl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index c602ab31..8278c36e 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -499,7 +499,7 @@ std::string versionRequest(HyprCtl::eHyprCtlOutputFormat format) { R"#({ "branch": "%s", "commit": "%s", - "dirty": %s + "dirty": %s, "commit_message": "%s", "flags": [)#", GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), removeBeginEndSpacesTabs(GIT_COMMIT_MESSAGE).c_str());