mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
Shell: Include parent and base directories in expanded globs
This commit is contained in:
parent
cc157629b4
commit
e89ba794d0
Notes:
sideshowbarker
2024-07-17 04:41:05 +09:00
Author: https://github.com/adamjoer
Commit: e89ba794d0
Pull-request: https://github.com/SerenityOS/serenity/pull/21922
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ Vector<DeprecatedString> Shell::expand_globs(Vector<StringView> path_segments, S
|
|||
if (is_glob_directory)
|
||||
first_segment = first_segment.substring_view(0, first_segment.length() - 1);
|
||||
|
||||
Core::DirIterator di(base, Core::DirIterator::SkipParentAndBaseDir);
|
||||
Core::DirIterator di(base);
|
||||
if (di.has_error())
|
||||
return {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue