From a3d2403ef119615389490bdc6d541da2cd7ab666 Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong Date: Tue, 15 Sep 2020 15:55:39 +0700 Subject: [PATCH] fix wrong filename when skip module --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index 55ee679..37aee8f 100644 --- a/init.sh +++ b/init.sh @@ -100,13 +100,13 @@ _myzs:private:core:load-module() { myzs:pg:mark "${module_type}" "Loading ${module_name}" if _myzs:internal:checker:fully-type || [[ $module_name =~ "alias" ]]; then - _myzs:internal:module:load "${module_key}" "$module_fullpath" || myzs:pg:mark-fail "Cannot load $module_fullpath" + _myzs:internal:module:load "${module_key}" || myzs:pg:mark-fail "Cannot load $module_fullpath" else myzs:pg:mark-fail "cannot load ${module_key} when TYPE=$__MYZS__TYPE" fi else - _myzs:internal:log:warn "skipping module ${module_key}" _myzs:internal:module:skip "${module_key}" + _myzs:internal:log:warn "skipping module ${module_key}" fi _myzs:internal:completed