mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Shell: Include parent and base directories in expanded globs
This commit is contained in:
committed by
Ali Mohammad Pur
parent
cc157629b4
commit
e89ba794d0
@@ -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 {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user