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:
parent
26efdf9d4f
commit
f20d04726a
12 changed files with 12 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue