mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:34:57 +00:00
LibFileSystem+Userland: Return ByteString from absolute_path()
This commit is contained in:
parent
fb644d08ac
commit
cdf17efb9a
7 changed files with 12 additions and 14 deletions
|
@ -952,7 +952,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
|
|||
pos_args.remove(0);
|
||||
}
|
||||
|
||||
HashMap<String, String> paths_to_unveil;
|
||||
HashMap<ByteString, String> paths_to_unveil;
|
||||
|
||||
for (auto const& input_filename : TRY(script.input_filenames())) {
|
||||
TRY(paths_to_unveil.try_set(TRY(FileSystem::absolute_path(input_filename)), edit_in_place ? "rwc"_string : "r"_string));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue