diff options
Diffstat (limited to 'Userland/Shell/AST.cpp')
-rw-r--r-- | Userland/Shell/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/AST.cpp b/Userland/Shell/AST.cpp index ba79b546f9..2de5497496 100644 --- a/Userland/Shell/AST.cpp +++ b/Userland/Shell/AST.cpp @@ -3577,7 +3577,7 @@ String StringValue::resolve_as_string(RefPtr<Shell> shell) Vector<String> StringValue::resolve_as_list(RefPtr<Shell> shell) { if (is_list()) { - auto parts = StringView(m_string).split_view(m_split, m_keep_empty); + auto parts = StringView(m_string).split_view(m_split, m_keep_empty ? SplitBehavior::KeepEmpty : SplitBehavior::Nothing); Vector<String> result; result.ensure_capacity(parts.size()); for (auto& part : parts) |