1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

Everywhere: Rename CommandResult stdout, stderr members to output, error

The names stdout / stderr are bound to conflict with existing
declarations when compiling against other LibC's. The build on OpenBSD
is broken for this reason at the moment.

Lets rename the members to more generic names to resolve the situation.
This commit is contained in:
Brian Gianforcaro 2022-03-27 15:26:32 -07:00 committed by Brian Gianforcaro
parent f3f3b32a00
commit 4674577d80
4 changed files with 8 additions and 8 deletions

View file

@ -83,7 +83,7 @@ String GitRepo::command_wrapper(Vector<String> const& command_parts, String cons
auto result = Core::command("git", command_parts, LexicalPath(chdir));
if (result.is_error() || result.value().exit_code != 0)
return {};
return result.value().stdout;
return result.value().output;
}
bool GitRepo::git_is_installed()