Skip to content

Commit

Permalink
hyprctl: make commits wrapped in quotes in json
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Apr 29, 2024
1 parent a783cd8 commit 39595aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/HyprCtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
"commit_message": "{}",
"commit_date": "{}",
"tag": "{}",
"commits": {},
"commits": "{}",
"flags": [)#",
GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), escapeJSONStrings(commitMsg), GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS);

Expand Down

0 comments on commit 39595aa

Please sign in to comment.