From c0e69a589e69237742c2f90a2fda3ceab3f42a69 Mon Sep 17 00:00:00 2001 From: Thales Mello Date: Thu, 10 Jan 2019 19:57:14 -0200 Subject: [PATCH] Put conf_file loop outside of init_file loop (#666) --- lib/require.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/require.fish b/lib/require.fish index 9a13a9c..1746629 100644 --- a/lib/require.fish +++ b/lib/require.fish @@ -74,15 +74,15 @@ function require source $init $path - for conf in $conf_path - source $conf - end - emit init_$package $path set -g omf_init_path $omf_init_path $path emit perf:timer:finish $init end + for conf in $conf_path + source $conf + end + return 0 end