From 18e3a5d40b6e13b1076912bd7543f535df901cec Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Tue, 11 Feb 2025 11:16:57 +0100 Subject: [PATCH] Fix `match` blocks in `std-rfc/kv` implementation (#15089) Fixes failure surfaced by merging https://github.com/nushell/nushell/pull/15032 --- crates/nu-std/std-rfc/kv/mod.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-std/std-rfc/kv/mod.nu b/crates/nu-std/std-rfc/kv/mod.nu index b0b78cf684..d01f2f6238 100644 --- a/crates/nu-std/std-rfc/kv/mod.nu +++ b/crates/nu-std/std-rfc/kv/mod.nu @@ -190,8 +190,8 @@ def db_setup [ # Return the correct closure for opening on-disk vs. in-memory match $universal { - true => {|| {|| open (universal_db_path)}} - false => {|| {|| stor open}} + true => {{|| open (universal_db_path)}} + false => {{|| stor open}} } }