mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 16:06:01 +01:00
Merge pull request #844 from brodi1/hyprctl-json-fix
fix invalid json output by adding a missing comma
This commit is contained in:
commit
f3917f2122
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ std::string versionRequest(HyprCtl::eHyprCtlOutputFormat format) {
|
||||||
R"#({
|
R"#({
|
||||||
"branch": "%s",
|
"branch": "%s",
|
||||||
"commit": "%s",
|
"commit": "%s",
|
||||||
"dirty": %s
|
"dirty": %s,
|
||||||
"commit_message": "%s",
|
"commit_message": "%s",
|
||||||
"flags": [)#", GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), removeBeginEndSpacesTabs(GIT_COMMIT_MESSAGE).c_str());
|
"flags": [)#", GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), removeBeginEndSpacesTabs(GIT_COMMIT_MESSAGE).c_str());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue