1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

LibFileSystem+Everything: Remove resolve_executable_from_environment

This commit is contained in:
Ben Wiederhake 2023-05-29 22:20:05 +02:00 committed by Jelle Raaijmakers
parent 26efdf9d4f
commit f20d04726a
12 changed files with 12 additions and 23 deletions

View file

@ -46,7 +46,7 @@ int main(int argc, char** argv, char** env)
auto executable_path_or_error = arguments[0].contains('/')
? FileSystem::real_path(arguments[0])
: FileSystem::resolve_executable_from_environment(arguments[0]);
: Core::System::resolve_executable_from_environment(arguments[0]);
if (executable_path_or_error.is_error()) {
reportln("Cannot find executable for '{}'."sv, arguments[0]);
return 1;