mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 23:45:58 +01:00
fix invalid json output by adding a missing comma
This commit is contained in:
parent
624303bfb9
commit
5d6e56b67c
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