mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
LibFileSystem+Userland: Return ByteString from real_path()
This commit is contained in:
parent
cdf17efb9a
commit
56c5ffe398
25 changed files with 44 additions and 40 deletions
|
@ -228,7 +228,7 @@ static ErrorOr<NonnullRefPtr<HackStudioWidget>> create_hack_studio_widget(bool m
|
|||
else if (auto last_path = last_opened_project_path(); last_path.has_value())
|
||||
project_path = last_path.release_value();
|
||||
else
|
||||
project_path = TRY(FileSystem::real_path("."sv)).to_byte_string();
|
||||
project_path = TRY(FileSystem::real_path("."sv));
|
||||
|
||||
return HackStudioWidget::create(project_path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue