mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 23:01:56 -04:00
formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536)
This commit is contained in:
@@ -47,11 +47,11 @@ std::vector<std::string> valid_game_version_names() {
|
||||
}
|
||||
|
||||
std::string build_revision() {
|
||||
if (BUILT_TAG != "") {
|
||||
return BUILT_TAG;
|
||||
if (std::string(BUILT_TAG) != "") {
|
||||
return std::string(BUILT_TAG);
|
||||
}
|
||||
if (BUILT_SHA != "") {
|
||||
return BUILT_SHA;
|
||||
if (std::string(BUILT_SHA) != "") {
|
||||
return std::string(BUILT_SHA);
|
||||
}
|
||||
return "Unknown Revision";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user