From 8c8f123f5fdde579bf3cd63b21a6de28f4d8b433 Mon Sep 17 00:00:00 2001 From: Lucas Wilson-Richter Date: Fri, 2 Aug 2024 18:25:26 +1000 Subject: [PATCH] fcl: Fail if unable to fetch config --- fcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcl b/fcl index 72f3d1e..ae2585d 100755 --- a/fcl +++ b/fcl @@ -66,7 +66,7 @@ def destination_path(repo_str) repo_elms = repo_str.split('/') repo = repo_elms.pop.sub(/\.git$/, '') - org = repo_elms.pop || Config['FCL_DEFAULT_ORG'] + org = repo_elms.pop || Config.fetch('FCL_DEFAULT_ORG') forge = repo_elms.pop || 'github.com' File.join(forge, org, repo)