From 345a12896fdfee1d0a8f05fe2098f76094a18b40 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 17 Jun 2023 13:17:45 +0200 Subject: [PATCH] Fix missing return --- lib/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.nu b/lib/config.nu index 053d342..1907913 100644 --- a/lib/config.nu +++ b/lib/config.nu @@ -8,7 +8,7 @@ export def get_path [app: string] { let home = $env.HOME? if $home == null { - "/etc" | path join $app + return "/etc" | path join $app } let local = ( $home | path join ".config" | path join $app )